Missed TensorFlow World? Check out the recap. Learn more

tff.backends.mapreduce.get_canonical_form_for_iterative_process

View source on GitHub

Constructs tff.backends.mapreduce.CanonicalForm given iterative process.

tff.backends.mapreduce.get_canonical_form_for_iterative_process(iterative_process)

This function transforms computations from the input iterative_process into an instance of tff.backends.mapreduce.CanonicalForm.

Args:

Returns:

An instance of tff.backends.mapreduce.CanonicalForm equivalent to this process.

Raises:

  • TypeError: If the arguments are of the wrong types.
  • transformations.CanonicalFormCompilationError: If the compilation process fails.