tff.framework.type_from_tensors

View source on GitHub

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.