View source on GitHub |
Compiles a computation for execution in the TFF native runtime.
tff.backends.native.transform_to_native_form(
comp: tff.framework.ConcreteComputation
,
transform_math_to_tf: bool = False,
grappler_config: Optional[tf.compat.v1.ConfigProto] = None
) -> tff.framework.ConcreteComputation
This function transforms the proto underlying comp
by transforming it
to call-dominant form (see tff.framework.to_call_dominant
for
definition).
Returns | |
---|---|
A new computation_impl.ConcreteComputation representing the compiled
version of comp .
|