Home
last modified time | relevance | path

Searched refs:kColocationAttrName (Results 1 – 11 of 11) sorted by relevance

/external/tensorflow/tensorflow/core/common_runtime/
Daccumulate_n_optimizer.cc84 if (GetNodeAttr(n_attrs, kColocationAttrName, &colo).ok()) { in rewriteNode()
85 node_builder.Attr(kColocationAttrName, colo); in rewriteNode()
Dprocess_function_library_runtime.cc285 static const StringPiece kColocationAttrNameStringPiece(kColocationAttrName); in GetColocationGroup()
351 node->AddAttr(kColocationAttrName, colo_slice); in PinArgsAndRets()
Dcolocation_graph.cc46 const StringPiece kColocationAttrNameStringPiece(kColocationAttrName);
/external/tensorflow/tensorflow/core/graph/
Dgraph_constructor.cc561 const auto iter = node_def.attr().find(kColocationAttrName); in ValidateColocationConstraints()
811 if (node_def->attr().find(kColocationAttrName) != node_def->attr().end()) { in AddPrefixToNodeDef()
813 node_def->mutable_attr()->at(kColocationAttrName).mutable_list(); in AddPrefixToNodeDef()
854 GetNodeAttr(node->attrs(), kColocationAttrName, &coloc_values); in UpdateUniquifiedColocationNames()
868 node->AddAttr(kColocationAttrName, coloc_values); in UpdateUniquifiedColocationNames()
Dgraph_constructor_test.cc148 Status s = GetNodeAttr(n->attrs(), kColocationAttrName, &value); in ColocationGroup()
1997 results.return_nodes[1]->attrs().Find(kColocationAttrName); in TEST_F()
2012 class_attr = results.return_nodes[0]->attrs().Find(kColocationAttrName); in TEST_F()
2028 class_attr = results.return_nodes[0]->attrs().Find(kColocationAttrName); in TEST_F()
2032 class_attr = results.return_nodes[1]->attrs().Find(kColocationAttrName); in TEST_F()
/external/tensorflow/tensorflow/cc/framework/
Dscope.cc275 if (GetNodeAttr(attrs, kColocationAttrName, &node_constraints).ok()) { in GetColocationConstraints()
347 builder->Attr(kColocationAttrName, constraints); in UpdateBuilder()
Dcc_ops_test.cc37 TF_EXPECT_OK(GetNodeAttr(tensor.op().node()->attrs(), kColocationAttrName, in GetColocationConstraints()
/external/tensorflow/tensorflow/core/framework/
Dnode_def_util.h43 extern const char* const kColocationAttrName;
Dnode_def_util.cc40 const char* const kColocationAttrName = "_class"; variable
/external/tensorflow/tensorflow/c/
Dc_api_test.cc1223 TF_SetAttrStringList(desc, tensorflow::kColocationAttrName, list_ptrs.get(), in SetViaStringList()
1235 TF_SetAttrValueProto(desc, tensorflow::kColocationAttrName, bytes.data(), in SetViaProto()
1243 TF_OperationGetAttrMetadata(op, tensorflow::kColocationAttrName, s_); in VerifyCollocation()
1257 TF_OperationGetAttrStringList(op, tensorflow::kColocationAttrName, in VerifyCollocation()
Dc_api.cc1247 if (strcmp(attr_name, tensorflow::kColocationAttrName) == 0) { in TF_SetAttrStringList()
1438 if (strcmp(attr_name, tensorflow::kColocationAttrName) == 0) { in TF_SetAttrValueProto()
1443 tensorflow::kColocationAttrName, "\" attribute"); in TF_SetAttrValueProto()
1468 tensorflow::kColocationAttrName, in TF_FinishOperationLocked()