|View source on GitHub|
Adds outer dimensions to the shape of input specs.
tf_agents.specs.tensor_spec.add_outer_dims_nest( specs, outer_dims )
||Nested list/tuple/dict of TensorSpecs/ArraySpecs, describing the shape of tensors.|
||a list or tuple, representing the outer shape to be added to the TensorSpecs in specs.|
|Nested TensorSpecs with outer dimensions added to the shape of input specs.|
||if any outer_dims is neither a list nor tuple.|