tff.Value

A generic base class for values that appear in TFF computations.

Inherits From: TypedObject

If the value in this class is of StructType or FederatedType containing a StructType, the inner fields can be accessed by name (e.g. y = my_value_impl.y).

comp An instance of building_blocks.ComputationBuildingBlock that contains the logic that computes this value.

comp

type_signature Returns the TFF type of this object (an instance of tff.Type).

Methods

__bool__

View source

__call__

View source

Call self as a function.

__getitem__

View source

__iter__

View source

__len__

View source