- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for GetUniqueNameForOp (0.18 sec)
-
tensorflow/cc/framework/scope.cc
const string sep = name_.empty() || unique_name.empty() ? "" : kScopeSeparator; return strings::StrCat(name_, sep, unique_name); } string Scope::GetUniqueNameForOp(const string& default_name) const { if (impl()->single_use_scope()) { if (impl()->op_name_.empty() || *impl()->scope_used_) { *impl()->status_ =
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
// The following functions are for scope object consumers. /// Return a unique name, using default_name if an op name has not been /// specified. string GetUniqueNameForOp(const string& default_name) const; /// Update the status on this scope. /// Note: The status object is shared between all children of this scope.
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, " ::tensorflow::Node* ret;\n"); strings::StrAppend(&body, " const auto unique_name = ", scope_str, ".GetUniqueNameForOp(\"", op_info.op_name, "\");\n"); strings::StrAppend( &body, " auto builder = ::tensorflow::NodeBuilder(unique_name, \"", op_info.graph_op_def.name(), "\")\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
for (int i = start_value_index; i < end_value_index; ++i) { inputs.push_back(op.input(i)); } auto shapes = ShapeN(scope, inputs); const auto unique_name = scope.GetUniqueNameForOp("ConcatOffset"); auto builder = ::tensorflow::NodeBuilder(unique_name, "ConcatOffset") .Input(::tensorflow::ops::AsNodeOut(scope, op.input(dim_index)))
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 10 23:33:32 UTC 2023 - 31.7K bytes - Viewed (0)