Searched refs:graph_ctor_opts (Results 1 – 2 of 2) sorted by relevance
136 GraphConstructorOptions graph_ctor_opts; in OptimizeGraph() local137 graph_ctor_opts.allow_internal_ops = true; in OptimizeGraph()138 graph_ctor_opts.expect_device_spec = false; in OptimizeGraph()142 ConvertGraphDefToGraph(graph_ctor_opts, graph_def, graphptr.get())); in OptimizeGraph()
1152 GraphConstructorOptions graph_ctor_opts; in InlineSymbolicGradient() local1153 graph_ctor_opts.allow_internal_ops = true; in InlineSymbolicGradient()1154 graph_ctor_opts.expect_device_spec = false; in InlineSymbolicGradient()1157 ConvertGraphDefToGraph(graph_ctor_opts, graph_def, &graph)); in InlineSymbolicGradient()