View source on GitHub |
An abstract interface representing references to server-placed values.
Inherits From: TypedObject
Attributes | |
---|---|
type_signature
|
The tff.Type of this object.
|
Methods
get_value
get_value()
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 |