ML Community Day is November 9! Join us for updates from TensorFlow, JAX, and more Learn more


Checks that output_spec is a nest of "value" type values.

"value" type values correspond to floating point tensors with spec shape () or (1,).

output_spec The output spec returned by network.create_variables.
network_name The string name of the network for error messages.

ValueError If output_spec is not a nest of value-type tensors.