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 |
bool , int , float , complex , str , bytes , |
np.generic , or np.ndarray |
|
tff.SequenceType |
Iterable of any Python type corresponding to a |
tff.TensorType |