Missed TensorFlow Dev Summit? Check out the video playlist. Watch recordings

tf_agents.specs.array_spec.update_spec_shape

View source on GitHub

Returns a copy of the given spec with the new shape.

tf_agents.specs.array_spec.update_spec_shape(
    spec, shape
)