tff.backends.native.transform_to_native_form

Compiles a computation for execution in the TFF native runtime.

This function transforms the proto underlying comp by transforming it to call-dominant form (see tff.framework.transform_to_call_dominant for definition).

comp Instance of computation_base.Computation to compile.

A new computation_base.Computation representing the compiled version of comp.