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

tf_agents.specs.tensor_spec.to_array_spec

View source on GitHub

Converts TensorSpec into ArraySpec.

tf_agents.specs.tensor_spec.to_array_spec(
    tensor_spec
)