code: def testShapeFunctionEdgeCases(self):
      # Enter graph mode since we want to test partial shapes
      with context.graph_mode():
          t = array_ops.reverse_sequence(
              array_ops.placeholder(dtypes.float32, shape=None),
              seq_lengths=array_ops.placeholder(
                  dtypes.int64, shape=(32,)
              ),
              batch_axis=0,
              seq_axis=1,
          )
          self.assertIs(t.get_shape().ndims, None)
  
imports: import numpy
  from tensorflow.python.eager import context
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import errors
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import gradient_checker_v2
  from tensorflow.python.platform import test
  from tensorflow.python.util import nest
label_desc: Use image node_id 15 for calling the ReverseSequenceTest obj's underlying member method code with example usage: obj.testShapeFunctionEdgeCases() without return types