code: def testNestSampleOuterDims(self, dtype):
      # Can't add another level of parameterized args because the test class is
      # already parameterized on dtype.
      if dtype == tf.string or dtype == tf.bool:
          self.skipTest("Not compatible with string or bool type.")
      self._testNestSampleOuterDims(dtype, use_tensor=False)
      self._testNestSampleOuterDims(dtype, use_tensor=True)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from absl.testing import parameterized
  import numpy
  import tensorflow
  from tf_agents.specs import array_spec
  from tf_agents.specs import tensor_spec
  from tf_agents.trajectories import time_step
label_desc: Use image node_id 13 for calling the BoundedTensorSpecSampleTest obj's underlying member method code with example usage: obj.testNestSampleOuterDims(dtype) without return types