View source on GitHub |
A tff.program.MaterializableValueReference
backed by a task.
Inherits From: MaterializableValueReference
, TypedObject
tff.program.NativeValueReference(
task: asyncio.Task,
type_signature: tff.program.MaterializableTypeSignature
)
Args | |
---|---|
task
|
An asyncio.Task to run.
|
type_signature
|
The tff.Type of this object.
|
Attributes | |
---|---|
type_signature
|
The tff.TensorType of this object.
|
Methods
get_value
get_value()
Returns the referenced value as a numpy scalar or array.
__eq__
__eq__(
other: object
) -> bool
Return self==value.