Home
last modified time | relevance | path

Searched refs:get_canonical_device_name (Results 1 – 8 of 8) sorted by relevance

/external/tensorflow/tensorflow/core/grappler/costs/
Dvirtual_placer_test.cc43 placer.get_canonical_device_name(node)); in TEST()
48 placer.get_canonical_device_name(node)); in TEST()
53 placer.get_canonical_device_name(node)); in TEST()
72 EXPECT_EQ("/GPU:0", placer.get_canonical_device_name(node)); in TEST()
76 EXPECT_EQ("/CPU:0", placer.get_canonical_device_name(node)); in TEST()
80 EXPECT_EQ("/GPU:0", placer.get_canonical_device_name(node)); in TEST()
103 placer.get_canonical_device_name(node)); in TEST()
108 placer.get_canonical_device_name(node)); in TEST()
132 placer.get_canonical_device_name(node)); in TEST()
136 placer.get_canonical_device_name(node)); in TEST()
[all …]
Dvirtual_placer.cc116 string device = get_canonical_device_name(node); in get_device()
124 string VirtualPlacer::get_canonical_device_name(const NodeDef& node) const { in get_canonical_device_name() function in tensorflow::grappler::VirtualPlacer
Dvirtual_placer.h41 string get_canonical_device_name(const NodeDef& node) const;
Dvirtual_scheduler.cc638 return placer_->get_canonical_device_name(*node); in DeviceName()
644 return absl::StrReplaceAll(placer_->get_canonical_device_name(*node), in SanitizedDeviceName()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dlayout_optimizer.cc434 device_name = virtual_placer_.get_canonical_device_name(*node); in AddNodePermConst()
458 device_name = virtual_placer_.get_canonical_device_name(*node); in AddNodeConstScalar()
586 device_name = virtual_placer_.get_canonical_device_name(*node_); in IsOnGPU()
Dauto_mixed_precision.cc1043 string device_name = virtual_placer_.get_canonical_device_name(node); in NodeHasF16KernelForTypeAttr()
1122 device_name = virtual_placer_.get_canonical_device_name(node); in IsOnDevice()
Dlayout_optimizer_test.cc1248 string device = virtual_placer.get_canonical_device_name(node); in TEST_F()
Dgeneric_layout_optimizer_transposer.cc1956 ? virtual_placer->get_canonical_device_name(node) in GetDeviceName()