Enable graph-as-function for exporting in bridge pass.
PiperOrigin-RevId: 278626392 Change-Id: Iedacd0abcb91b052df076a416448d06fb9d27227
This commit is contained in:
parent
51296ec43c
commit
87c5874443
@ -96,6 +96,7 @@ Status MlirBridgePass::Run(const GraphOptimizationPassOptions& options) {
|
||||
specs.graph_as_function = true;
|
||||
|
||||
GraphExportConfig confs;
|
||||
confs.graph_as_function = true;
|
||||
TF_ASSIGN_OR_RETURN(auto module,
|
||||
ConvertGraphToMlir(**options.graph, debug_info,
|
||||
*options.flib_def, specs, &context));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user