Home
last modified time | relevance | path

Searched refs:original_map (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/core/grappler/optimizers/data/
Dmap_and_filter_fusion.cc122 NodeDef MakeMapNode(const NodeDef& updated_filter, const NodeDef& original_map, in MakeMapNode() argument
133 graph_utils::CopyAttribute(key, original_map, &map_node); in MakeMapNode()
139 if (gtl::FindOrNull(original_map.attr(), key)) { in MakeMapNode()
140 graph_utils::CopyAttribute(key, original_map, &map_node); in MakeMapNode()
/external/tensorflow/tensorflow/tools/graph_transforms/
Dfold_constants_lib.cc67 StringPieceMap<const NodeDef*> original_map; in ReplaceSendRecvs() local
69 original_map.emplace(node.name(), &node); in ReplaceSendRecvs()
75 if (original_map.count(node.name()) == 0) { in ReplaceSendRecvs()
112 const NodeDef& removed_node = *CHECK_NOTNULL(original_map[name]); in ReplaceSendRecvs()
/external/protobuf/src/google/protobuf/
Dmap_test.cc3398 Map<int32, TestAllTypes> original_map; in TEST() local
3399 original_map[42].mutable_optional_nested_message()->set_bb(42); in TEST()
3400 original_map[43].mutable_optional_nested_message()->set_bb(43); in TEST()
3401 const auto* nested_msg42_ptr = &original_map[42].optional_nested_message(); in TEST()
3402 const auto* nested_msg43_ptr = &original_map[43].optional_nested_message(); in TEST()
3404 Map<int32, TestAllTypes> moved_to_map(std::move(original_map)); in TEST()
3405 EXPECT_TRUE(original_map.empty()); in TEST()
3416 Map<int32, TestAllTypes> original_map; in TEST() local
3417 original_map[42].mutable_optional_nested_message()->set_bb(42); in TEST()
3418 original_map[43].mutable_optional_nested_message()->set_bb(43); in TEST()
[all …]