Searched refs:ParseLocalName (Results 1 – 6 of 6) sorted by relevance
/external/tensorflow/tensorflow/core/util/ |
D | device_name_utils_test.cc | 247 EXPECT_TRUE(DeviceNameUtils::ParseLocalName("CPU:10", &p)); in TEST() 250 EXPECT_FALSE(DeviceNameUtils::ParseLocalName("cpu:abc", &p)); in TEST() 251 EXPECT_FALSE(DeviceNameUtils::ParseLocalName("abc:", &p)); in TEST() 252 EXPECT_FALSE(DeviceNameUtils::ParseLocalName("abc", &p)); in TEST() 253 EXPECT_FALSE(DeviceNameUtils::ParseLocalName("myspecialdevice", &p)); in TEST()
|
D | device_name_utils.h | 154 static bool ParseLocalName(StringPiece name, ParsedName* parsed);
|
D | device_name_utils.cc | 233 if (ParseLocalName(fullname, &parsed_name)) { in CanonicalizeDeviceName() 445 bool DeviceNameUtils::ParseLocalName(StringPiece name, ParsedName* p) { in ParseLocalName() function in tensorflow::DeviceNameUtils
|
/external/tensorflow/tensorflow/core/grappler/costs/ |
D | virtual_placer.cc | 149 parsed = DeviceNameUtils::ParseLocalName(lowercase_name, &parsed_name); in to_lfqn_or_empty()
|
/external/tensorflow/tensorflow/core/grappler/optimizers/ |
D | implementation_selector.cc | 141 DeviceNameUtils::ParseLocalName(device, &parsed_name); in MaybeOptimizeFunctionCall()
|
/external/tensorflow/tensorflow/compiler/tests/ |
D | randomized_tests.cc | 862 if (!DeviceNameUtils::ParseLocalName(*tf_xla_test_device_ptr, &parsed_name)) { in ExpectTfAndXlaOutputsAreClose()
|