![]() |
A tff.program.MaterializableValueReference
backed by a coroutine.
Inherits From: MaterializableValueReference
, TypedObject
tff.program.CoroValueReference(
coro: Coroutine[Any, Any, tff.program.MaterializablePythonType
],
type_signature: tff.program.MaterializableTffType
)
Args | |
---|---|
coro
|
An asyncio.Coroutine that returns 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: Any
) -> bool
Return self==value.