MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / IsSymbolicExecutionDevice

Function IsSymbolicExecutionDevice

tensorflow/core/framework/device_base.cc:89–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87}
88
89bool IsSymbolicExecutionDevice(const absl::string_view device_name) {
90 absl::flat_hash_set<std::string>* symbolic_devices = GetSymbolicDeviceList();
91 if (symbolic_devices->contains(device_name)) {
92 return true;
93 } else {
94 return false;
95 }
96}
97
98} // namespace tensorflow

Callers 1

FindKernelRegistrationFunction · 0.85

Calls 2

GetSymbolicDeviceListFunction · 0.85
containsMethod · 0.80

Tested by

no test coverage detected