Searched refs:ParseLocalName (Results 1 – 11 of 11) sorted by relevance
/external/tensorflow/tensorflow/core/common_runtime/eager/ |
D | placement_test.cc | 133 ASSERT_TRUE(DeviceNameUtils::ParseLocalName("FakeGPU:99", &requested)); in TEST_F() 148 ASSERT_TRUE(DeviceNameUtils::ParseLocalName("CPU:0", &requested)); in TEST_F() 174 ASSERT_TRUE(DeviceNameUtils::ParseLocalName("FakeGPU:99", &requested)); in TEST_F()
|
/external/tensorflow/tensorflow/core/util/ |
D | device_name_utils_test.cc | 250 EXPECT_TRUE(DeviceNameUtils::ParseLocalName("CPU:10", &p)); in TEST() 254 EXPECT_FALSE(DeviceNameUtils::ParseLocalName("cpu:abc", &p)); in TEST() 255 EXPECT_FALSE(DeviceNameUtils::ParseLocalName("abc:", &p)); in TEST() 256 EXPECT_FALSE(DeviceNameUtils::ParseLocalName("abc", &p)); in TEST() 257 EXPECT_FALSE(DeviceNameUtils::ParseLocalName("myspecialdevice", &p)); in TEST()
|
D | device_name_utils.cc | 179 return ParseFullName(fullname, p) || ParseLocalName(fullname, p); in ParseFullOrLocalName() 228 if (ParseLocalName(fullname, &parsed_name)) { in CanonicalizeDeviceName() 504 bool DeviceNameUtils::ParseLocalName(StringPiece name, ParsedName* p) { in ParseLocalName() function in tensorflow::DeviceNameUtils
|
D | device_name_utils.h | 180 static bool ParseLocalName(StringPiece name, ParsedName* parsed);
|
/external/tensorflow/tensorflow/core/grappler/costs/ |
D | virtual_placer.cc | 147 parsed = DeviceNameUtils::ParseLocalName(lowercase_name, &parsed_name); in to_lfqn_or_empty()
|
/external/abseil-cpp/absl/debugging/internal/ |
D | demangle.cc | 562 static bool ParseLocalName(State *state); 633 if (ParseNestedName(state) || ParseLocalName(state)) { in ParseName() 1787 static bool ParseLocalName(State *state) { in ParseLocalName() function
|
/external/openscreen/third_party/abseil/src/absl/debugging/internal/ |
D | demangle.cc | 566 static bool ParseLocalName(State *state); 637 if (ParseNestedName(state) || ParseLocalName(state)) { in ParseName() 1836 static bool ParseLocalName(State *state) { in ParseLocalName() function
|
/external/webrtc/third_party/abseil-cpp/absl/debugging/internal/ |
D | demangle.cc | 562 static bool ParseLocalName(State *state); 633 if (ParseNestedName(state) || ParseLocalName(state)) { in ParseName() 1787 static bool ParseLocalName(State *state) { in ParseLocalName() function
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/debugging/internal/ |
D | demangle.cc | 566 static bool ParseLocalName(State *state); 637 if (ParseNestedName(state) || ParseLocalName(state)) { in ParseName() 1836 static bool ParseLocalName(State *state) { in ParseLocalName() function
|
/external/libtextclassifier/abseil-cpp/absl/debugging/internal/ |
D | demangle.cc | 566 static bool ParseLocalName(State *state); 637 if (ParseNestedName(state) || ParseLocalName(state)) { in ParseName() 1836 static bool ParseLocalName(State *state) { in ParseLocalName() function
|
/external/tensorflow/tensorflow/compiler/tests/ |
D | randomized_tests.cc | 863 if (!DeviceNameUtils::ParseLocalName(*tf_xla_test_device_ptr, &parsed_name)) { in ExpectTfAndXlaOutputsAreClose()
|