Missed TensorFlow Dev Summit? Check out the video playlist. Watch recordings

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(
    ip
)

This function transforms computations from the input ip 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.