![]() |
A tff.program.MaterializableValueReference
backed by a coroutine function.
Inherits From: MaterializableValueReference
, TypedObject
tff.program.AwaitableValueReference(
fn: _MaterializedValueFn,
type_signature: tff.program.MaterializableTypeSignature
)
Args | |
---|---|
fn
|
A function that returns an Awaitable representing the referenced
value.
|
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.