Join us at TensorFlow World, Oct 28-31. Use code TF20 for 20% off select passes. Register now

tff.framework.create_federated_map_all_equal

View source

Creates a called federated map of equal values.

tff.framework.create_federated_map_all_equal(
    fn,
    arg
)
      Call
     /    \

Intrinsic Tuple | [Comp, Comp]

NOTE: The fn is required to be deterministic and therefore should contain no building_blocks.CompiledComputations.

Args:

  • fn: A building_blocks.ComputationBuildingBlock to use as the function.
  • arg: A building_blocks.ComputationBuildingBlock to use as the argument.

Returns:

A building_blocks.Call.

Raises:

  • TypeError: If any of the types do not match.