code: def testConvolutionWith2SpatialDimensionsAndExpandedBatch(self):
      tensor_in_sizes_batch = [10, 2, 3, 1, 3]
      tensor_in_sizes_expanded_batch = [2, 5, 2, 3, 1, 3]
      filter_in_sizes = [1, 1, 1, 3, 3]
      filter_in = self._CreateNumpyTensor(filter_in_sizes)
      x1 = self._CreateNumpyTensor(tensor_in_sizes_batch)
      x2 = x1.reshape(tensor_in_sizes_expanded_batch)
      conv1 = nn_ops.convolution(
          x1, filter_in, strides=[1, 1, 1], padding="VALID"
      )
      conv2 = nn_ops.convolution(
          x2, filter_in, strides=[1, 1, 1], padding="VALID"
      )
      self.assertEqual(conv1.shape, tensor_in_sizes_batch)
      self.assertEqual(conv2.shape, tensor_in_sizes_expanded_batch)
      self.assertAllClose(
          conv1, self.evaluate(conv2).reshape(conv1.shape)
      )
  
imports: import math
  from absl.testing import parameterized
  import numpy
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import errors_impl
  from tensorflow.python.framework import tensor_shape
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import gen_nn_ops
  from tensorflow.python.ops import gradient_checker
  from tensorflow.python.ops import gradients_impl
  from tensorflow.python.ops import nn_ops
  import tensorflow.python.ops.nn_grad
  from tensorflow.python.platform import test
  from tensorflow.python.platform import tf_logging
  from tensorflow.python.util.compat import collections_abc
  from tensorflow.python.eager import context
label_desc: Use image node_id 9 for calling the Conv3DTest obj's underlying member method code with example usage: obj.testConvolutionWith2SpatialDimensionsAndExpandedBatch() without return types