Home
last modified time | relevance | path

Searched refs:StringPieceHasher (Results 1 – 17 of 17) sorted by relevance

/external/tensorflow/tensorflow/core/lib/core/
Dstringpiece_test.cc68 TEST(StringPieceHasher, Equality) { in TEST() argument
69 StringPieceHasher hasher; in TEST()
89 TEST(StringPieceHasher, HashMap) { in TEST() argument
98 std::unordered_map<StringPiece, int, StringPieceHasher> map; in TEST()
Dstringpiece.h38 struct StringPieceHasher;
134 struct StringPieceHasher { struct
Dstringpiece.cc24 size_t StringPieceHasher::operator()(StringPiece s) const { in operator ()()
/external/tensorflow/tensorflow/core/framework/
Dvariant_op_registry.h148 std::unordered_map<StringPiece, VariantShapeFn, StringPieceHasher> shape_fns;
149 std::unordered_map<StringPiece, VariantDecodeFn, StringPieceHasher>
161 StringPieceHasher sp_hasher_;
203 StringPieceHasher sp_hasher_;
/external/tensorflow/tensorflow/core/graph/
Dsubgraph.h74 typedef std::unordered_map<StringPiece, Node*, StringPieceHasher> NameIndex;
Dgraph_constructor.cc265 std::unordered_map<StringPiece, NodeInfo, StringPieceHasher> gdef_nodes_;
268 std::unordered_set<StringPiece, StringPieceHasher> gdef_prefixes_;
271 std::unordered_map<StringPiece, Node*, StringPieceHasher> existing_nodes_;
274 std::unordered_set<StringPiece, StringPieceHasher> existing_prefixes_;
335 std::unordered_set<StringPiece, StringPieceHasher>* prefixes) { in AddPrefixes()
Dcostmodel.h33 typedef std::unordered_map<StringPiece, int32, StringPieceHasher>
Dquantize_training.cc45 new std::unordered_set<string, StringPieceHasher>{"MatMul", "Conv2D"};
566 std::unordered_map<string, Node*, StringPieceHasher> name_index; in ProcessTargetEdges()
/external/tensorflow/tensorflow/core/common_runtime/
Ddevice_mgr.h71 std::unordered_map<StringPiece, Device*, StringPieceHasher> device_map_;
Dstep_stats_collector.cc153 std::unordered_map<StringPiece, DeviceStats, StringPieceHasher> in BuildCostModel()
193 std::unordered_map<StringPiece, Node*, StringPieceHasher> name_to_node; in BuildCostModel()
Dplacer.cc132 std::unordered_map<StringPiece, const Node*, StringPieceHasher> in ColocateAllNodes()
174 std::unordered_map<StringPiece, const Node*, StringPieceHasher>* in ColocateNodeToGroup()
Ddirect_session.h67 typedef std::unordered_map<StringPiece, Node*, StringPieceHasher> NameNodeMap;
Ddirect_session.cc1157 std::unordered_set<StringPiece, StringPieceHasher> names; in GetOrCreateExecutors()
/external/tensorflow/tensorflow/tools/graph_transforms/
Dfold_constants_lib.cc42 using StringPieceSet = std::unordered_set<StringPiece, StringPieceHasher>;
44 using StringPieceMap = std::unordered_map<StringPiece, T, StringPieceHasher>;
/external/tensorflow/tensorflow/cc/framework/
Dcc_op_gen.cc300 StringPieceHasher> in AttrTypeName()
328 static const std::unordered_set<StringPiece, StringPieceHasher> in IsCPPKeyword()
/external/tensorflow/tensorflow/core/distributed_runtime/
Dmaster_session.cc216 std::unordered_map<StringPiece, Node*, StringPieceHasher> name_to_node_;
501 std::unordered_map<StringPiece, size_t, StringPieceHasher> feeds(3); in RunPartitions()
/external/tensorflow/tensorflow/contrib/tensorboard/db/
Dsummary_db_writer.cc391 std::unordered_map<StringPiece, int64, StringPieceHasher> name_to_node_id_;