Home
last modified time | relevance | path

Searched refs:get_canonical_device_name (Results 1 – 6 of 6) 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.cc118 string device = get_canonical_device_name(node); in get_device()
126 string VirtualPlacer::get_canonical_device_name(const NodeDef& node) const { in get_canonical_device_name() function in tensorflow::grappler::VirtualPlacer
Dvirtual_placer.h38 string get_canonical_device_name(const NodeDef& node) const;
Dvirtual_scheduler.cc527 return placer_.get_canonical_device_name(*node); in DeviceName()
533 return str_util::StringReplace(placer_.get_canonical_device_name(*node), ":", in SanitizedDeviceName()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dlayout_optimizer.cc426 device_name = virtual_placer_.get_canonical_device_name(*node); in AddNodePermConst()
450 device_name = virtual_placer_.get_canonical_device_name(*node); in AddNodeConstScalar()
574 device_name = virtual_placer_.get_canonical_device_name(*node_); in IsOnGPU()
Dlayout_optimizer_test.cc1228 string device = virtual_placer.get_canonical_device_name(node); in TEST_F()