- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for ConvertGraphDefToGraph (0.3 sec)
-
tensorflow/compiler/jit/tests/auto_clustering_test_helper.cc
Graph graph(OpRegistry::Global()); GraphConstructorOptions graph_opts; graph_opts.expect_device_spec = true; graph_opts.allow_internal_ops = true; TF_RETURN_IF_ERROR( ConvertGraphDefToGraph(graph_opts, auto_clustered_graph_def, &graph)); // cluster_id -> (operation name -> # of operations) const int kNoCluster = -1; std::map<int, std::map<string, int>> clusters; std::map<int, int> cluster_size;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 12:11:46 UTC 2024 - 8.5K bytes - Viewed (0) -
tensorflow/cc/framework/scope.cc
return absl::OkStatus(); } Status Scope::ToGraph(Graph* g, GraphConstructorOptions opts) const { if (ok()) { GraphDef graph_def; graph()->ToGraphDef(&graph_def); UpdateStatus(ConvertGraphDefToGraph(opts, std::move(graph_def), g)); } return *impl()->status_; } void Scope::UpdateBuilder(NodeBuilder* builder) const { std::vector<Node*> control_inputs;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 13 05:57:22 UTC 2024 - 20.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/import_model.cc
} graph_ = std::make_unique<Graph>(graph.flib_def()); GraphConstructorOptions opts; opts.allow_internal_ops = true; opts.add_default_attributes = true; TF_RETURN_IF_ERROR(::tensorflow::ConvertGraphDefToGraph( opts, std::move(*graph_def), graph_.get())); TF_RETURN_IF_ERROR(RemoveBackedges()); TF_RETURN_IF_ERROR(CopyStackTraces(graph, graph_.get()));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 01 11:17:36 UTC 2024 - 183.2K bytes - Viewed (0) -
tensorflow/compiler/jit/encapsulate_subgraphs_pass_test.cc
std::unique_ptr<Graph> graph = std::unique_ptr<Graph>(new Graph(OpRegistry::Global())); GraphConstructorOptions opts; opts.allow_internal_ops = true; TF_RETURN_IF_ERROR(ConvertGraphDefToGraph(opts, graphdef, graph.get())); FunctionDef* fdef = library->add_function(); TF_RETURN_IF_ERROR(GraphToFunctionDef( *graph, absl::StrCat("_outside_compilation_shape_inference_", name_suffix),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 08:47:20 UTC 2024 - 113.3K bytes - Viewed (0)