code: def _build_tensor(self, ndarray):
      if self.use_static_batch_size:
          shape = ndarray.shape
      else:
          shape = [None] + list(ndarray.shape[1:])
      return tf1.placeholder_with_default(input=ndarray, shape=shape)
  
imports: import collections
  from absl import logging
  import numpy
  import tensorflow.compat.v1
  import tensorflow.compat.v2
  from tensorflow_probability.python.experimental.auto_batching import frontend
  from tensorflow_probability.python.experimental.auto_batching import instructions
  from tensorflow_probability.python.experimental.auto_batching import numpy_backend
  from tensorflow_probability.python.experimental.auto_batching import tf_backend
  from tensorflow_probability.python.internal import test_util
label_desc: Use image node_id 1 for calling the _TestHidingTFBatchSize obj's underlying member method code with example usage: obj._build_tensor(ndarray) and returns: tf1