Compiles a computation for execution in the TFF native runtime.

This function transforms the proto underlying comp by first transforming it to call-dominant form (see tff.framework.transform_to_call_dominant for definition), then computing information on the dependency structure of the bindings and remapping them into tuples, such that every computation is evaluated as early as possible, and parallelized with any other computation with which it shares dependency structure.

comp Instance of computation_base.Computation to compile.

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