Parses TFF construct
comp into TensorFlow construct.
Does not change the type signature of
comp. Therefore may return either
building_blocks.CompiledComputation or a
building_blocks.Call with no
argument and function
building_blocks.ComputationBuildingBlock to parse down
to a single TF block.
An instance of
configure Grappler graph optimization of the generated TensorFlow graph.
graph_options.rewrite_options.disable_meta_optimizer=True, Grappler is
The result of parsing TFF to TF. If successful, this is either a single
building_blocks.CompiledComputation, or a call to one. If unsuccessful,
there may be more TFF constructs still remaining. Notice it is not the job
of this function, but rather its callers, to check that the result of this
parse is as expected.