tff.program.MaterializableValueReference

An abstract interface representing references to server-placed values.

Inherits From: TypedObject

type_signature The tff.Type of this object.

Methods

get_value

View source

Returns the referenced value.

The Python type of the referenced value depends on the type_signature:

TFF Type Python Type
tff.TensorType np.generic or np.ndarray
tff.SequenceType Iterable of np.generic or np.ndarray