code: def test_input_variable():
      from .. import sequence
  
      i = C.input_variable(shape=(2, 3), name="i")
      assert i.shape == (2, 3)
      assert i.name == "i"
      assert len(i.dynamic_axes) == 1
  
      sequence_i = sequence.input_variable(
          shape=(3, 2), name="sequence_i"
      )
      assert sequence_i.shape == (3, 2)
      assert sequence_i.name == "sequence_i"
      assert len(sequence_i.dynamic_axes) == 2
  
file_path: CNTK/bindings/python/cntk/ops/tests/non_diff_test.py
imports: from __future__ import division
  import numpy
  import cntk
  import pytest
  from .ops_test_utils import unittest_helper, _test_unary_op, _test_binary_op, AA, precision, PRECISION_TO_TYPE
label_desc: Use image node_id 4 for calling a global function with example usage: test_input_variable() without return types