Missed TensorFlow World? Check out the recap. Learn more

tff.framework.create_federated_map_all_equal

View source on GitHub

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.