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

tf_agents.utils.nest_utils.flatten_and_check_shape_nested_specs

View source on GitHub

Flatten nested specs and check their shape for use in other functions.

tf_agents.utils.nest_utils.flatten_and_check_shape_nested_specs(
    specs, reference_specs
)