code: def example_nested_array_spec(dtype):
      return {
          "spec_1": array_spec.ArraySpec((2, 3), dtype),
          "bounded_spec_1": array_spec.BoundedArraySpec(
              (2, 3), dtype, -10, 10
          ),
          "bounded_spec_2": array_spec.BoundedArraySpec(
              (2, 3), dtype, -10, -10
          ),
          "bounded_array_spec_3": array_spec.BoundedArraySpec(
              (2,), dtype, [-10, -10], [10, 10]
          ),
          "bounded_array_spec_4": array_spec.BoundedArraySpec(
              (2,), dtype, [-10, -9], [10, 9]
          ),
          "dict_spec": {
              "spec_2": array_spec.ArraySpec((2, 3), dtype),
              "bounded_spec_2": array_spec.BoundedArraySpec(
                  (2, 3), dtype, -10, 10
              ),
          },
          "tuple_spec": (
              array_spec.ArraySpec((2, 3), dtype),
              array_spec.BoundedArraySpec((2, 3), dtype, -10, 10),
          ),
          "list_spec": [
              array_spec.ArraySpec((2, 3), dtype),
              (
                  array_spec.ArraySpec((2, 3), dtype),
                  array_spec.BoundedArraySpec((2, 3), dtype, -10, 10),
              ),
          ],
      }
  
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 1 for calling a global function with example usage: example_nested_array_spec(dtype) and returns: dict