docstr: Runs the operation in one session with different input tensor shapes.
code: def testDifferentInputTensorShape(self):
      """Runs the operation in one session with different input tensor shapes."""
      with self.cached_session() as sess:
          input_holder = array_ops.placeholder(
              dtypes.float32, [None, None, None, 3]
          )
          pooling_ratio = [1, 1.5, 1.5, 1]
          pseudo_random = False
          overlapping = False
          p, r, c = nn_ops.fractional_avg_pool_v2(
              input_holder,
              pooling_ratio,
              pseudo_random,
              overlapping,
              seed=self._SEED,
          )
          # First run.
          input_a = np.zeros([3, 32, 32, 3])
          actual, row_seq, col_seq = sess.run(
              [p, r, c], {input_holder: input_a}
          )
          expected = self._GetExpectedFractionalAvgPoolResult(
              input_a, row_seq, col_seq, overlapping
          )
          self.assertSequenceEqual(expected.shape, actual.shape)
          # Second run.
          input_b = np.zeros([4, 60, 60, 3])
          actual, row_seq, col_seq = sess.run(
              [p, r, c], {input_holder: input_b}
          )
          expected = self._GetExpectedFractionalAvgPoolResult(
              input_b, row_seq, col_seq, overlapping
          )
          self.assertSequenceEqual(expected.shape, actual.shape)
  
imports: import math
  import numpy
  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 gen_nn_ops
  from tensorflow.python.ops import gradient_checker
  from tensorflow.python.ops import nn_ops
  import tensorflow.python.ops.nn_grad
  from tensorflow.python.platform import test
label_desc: Use image node_id 11 for calling the FractionalAvgTest obj's underlying member method code with example usage: obj.testDifferentInputTensorShape() without return types