Join us at TensorFlow World, Oct 28-31. Use code TF20 for 20% off select passes. Register now

tff.framework.type_from_tensors

View source

Builds a tff.Type from supplied tensors.

tff.framework.type_from_tensors(tensors)

Args:

  • tensors: A nested structure of tensors.

Returns:

The nested TensorType structure.