tff.program.CoroValueReference

A tff.program.MaterializableValueReference backed by a coroutine.

Inherits From: MaterializableValueReference, TypedObject

coro An asyncio.Coroutine that returns the referenced value.
type_signature The tff.Type of this object.

type_signature The tff.TensorType of this object.

Methods

get_value

View source

Returns the referenced value as a numpy scalar or array.

__eq__

View source

Return self==value.