code: def testSingleBatchInference(self):
      layer = batch_norm.BaseBatchNorm(
          moving_mean=TestMetric(),
          moving_variance=TestMetric(),
          create_scale=True,
          create_offset=True,
      )
      inputs = tf.ones([1, 1, 1, 1])
      outputs = layer(inputs, False)
      self.assertAllEqual(outputs, tf.zeros_like(inputs))
  
imports: import itertools
  from absl.testing import parameterized
  import numpy
  from sonnet.src import batch_norm
  from sonnet.src import initializers
  from sonnet.src import test_utils
  import tensorflow
label_desc: Use image node_id 6 for calling the BaseBatchNormTest obj's underlying member method code with example usage: obj.testSingleBatchInference() without return types