tff.program.NativeValueReference

A tff.program.MaterializableValueReference backed by a task.

Inherits From: MaterializableValueReference, TypedObject

task An asyncio.Task to run.
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.