- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for UpdateBuilder (0.15 sec)
-
tensorflow/cc/framework/scope.cc
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; for (const auto& op : impl()->control_deps_) { control_inputs.push_back(op.node()); } builder->ControlInputs(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/cc/framework/scope.h
// START_SKIP_DOXYGEN /// Update the builder with properties accumulated in this scope. Does not set /// status(). // TODO(skyewm): NodeBuilder is not part of public API void UpdateBuilder(NodeBuilder* builder) const; // END_SKIP_DOXYGEN CompositeOpScopes GetCompositeOpScopes(const string& composite_op_name) const; bool ok() const; // TODO(skyewm): Graph is not part of public API
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 13 09:08:33 UTC 2024 - 10.5K bytes - Viewed (0) -
tensorflow/cc/framework/cc_op_gen.cc
strings::StrAppend(&body, spaces, ".Attr(\"", graph_attr.name(), "\", ", attr_name, ")\n"); } strings::StrAppend(&body, " ;\n"); strings::StrAppend(&body, " ", scope_str, ".UpdateBuilder(&builder);\n"); strings::StrAppend(&body, " ", scope_str, ".UpdateStatus(builder.Finalize(", scope_str, ".graph(), &ret));\n"); strings::StrAppend(&body, " ", return_on_error, "\n");
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 27 17:22:47 UTC 2023 - 17K bytes - Viewed (0) -
tensorflow/cc/gradients/array_grad.cc
::tensorflow::NodeBuilder(unique_name, "ConcatOffset") .Input(::tensorflow::ops::AsNodeOut(scope, op.input(dim_index))) .Input(::tensorflow::ops::AsNodeOutList(scope, shapes.output)); scope.UpdateBuilder(&builder); ::tensorflow::Node* concat_offset_node; scope.UpdateStatus(builder.Finalize(scope.graph(), &concat_offset_node)); scope.UpdateStatus(scope.DoShapeInference(concat_offset_node));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 10 23:33:32 UTC 2023 - 31.7K bytes - Viewed (0)