tf_agents.specs.tensor_spec.sample_bounded_spec

Samples uniformily the given bounded spec.

spec A BoundedSpec to sample.
seed A seed used for sampling ops
outer_dims An optional Tensor specifying outer dimensions to add to the spec shape before sampling.

A Tensor sample of the requested spec.