![]() |
Compiles a computation for execution in the TFF native runtime.
tff.backends.native.transform_to_native_form(
comp: tff.Computation
) -> tff.Computation
This function transforms the proto underlying comp
by transforming it
to call-dominant form (see tff.framework.transform_to_call_dominant
for
definition).
Args | |
---|---|
comp
|
Instance of computation_base.Computation to compile.
|
Returns | |
---|---|
A new computation_base.Computation representing the compiled version of
comp .
|