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

tff.types.is_structure_of_floats

Determines if type_spec is a structure of floats.

Note that an empty computation_types.StructType will return True, as it does not contain any non-floating types.

type_spec A computation_types.Type.

True iff type_spec is a structure of floats, otherwise False.