Home
last modified time | relevance | path

Searched refs:kColocationAttrName (Results 1 – 10 of 10) 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()
Dplacer.cc39 const StringPiece kColocationAttrNameStringPiece(kColocationAttrName);
/external/tensorflow/tensorflow/core/graph/
Dgraph_constructor.cc533 const auto iter = node_def.attr().find(kColocationAttrName); in ValidateColocationConstraints()
765 if (node_def->attr().find(kColocationAttrName) != node_def->attr().end()) { in AddPrefixToNodeDef()
767 node_def->mutable_attr()->at(kColocationAttrName).mutable_list(); in AddPrefixToNodeDef()
808 GetNodeAttr(node->attrs(), kColocationAttrName, &coloc_values); in UpdateUniquifiedColocationNames()
822 node->AddAttr(kColocationAttrName, coloc_values); in UpdateUniquifiedColocationNames()
Dgraph_constructor_test.cc148 Status s = GetNodeAttr(n->attrs(), kColocationAttrName, &value); in ColocationGroup()
1988 results.return_nodes[1]->attrs().Find(kColocationAttrName); in TEST_F()
2003 class_attr = results.return_nodes[0]->attrs().Find(kColocationAttrName); in TEST_F()
2019 class_attr = results.return_nodes[0]->attrs().Find(kColocationAttrName); in TEST_F()
2023 class_attr = results.return_nodes[1]->attrs().Find(kColocationAttrName); in TEST_F()
/external/tensorflow/tensorflow/cc/framework/
Dscope.cc218 if (GetNodeAttr(attrs, kColocationAttrName, &node_constraints).ok()) { in GetColocationConstraints()
291 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.cc39 const char* const kColocationAttrName = "_class"; variable
/external/tensorflow/tensorflow/c/
Dc_api_test.cc1202 TF_SetAttrStringList(desc, tensorflow::kColocationAttrName, list_ptrs.get(), in SetViaStringList()
1214 TF_SetAttrValueProto(desc, tensorflow::kColocationAttrName, bytes.data(), in SetViaProto()
1222 TF_OperationGetAttrMetadata(op, tensorflow::kColocationAttrName, s_); in VerifyCollocation()
1236 TF_OperationGetAttrStringList(op, tensorflow::kColocationAttrName, in VerifyCollocation()
Dc_api.cc1144 if (strcmp(attr_name, tensorflow::kColocationAttrName) == 0) { in TF_SetAttrStringList()
1328 if (strcmp(attr_name, tensorflow::kColocationAttrName) == 0) { in TF_SetAttrValueProto()
1333 tensorflow::kColocationAttrName, "\" attribute"); in TF_SetAttrValueProto()
1358 tensorflow::kColocationAttrName, in TF_FinishOperationLocked()