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

Function AddSymbolicExecutionDevice

tensorflow/core/framework/device_base.cc:85–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83} // namespace
84
85void AddSymbolicExecutionDevice(const absl::string_view device_name) {
86 GetSymbolicDeviceList()->insert(std::string(device_name));
87}
88
89bool IsSymbolicExecutionDevice(const absl::string_view device_name) {
90 absl::flat_hash_set<std::string>* symbolic_devices = GetSymbolicDeviceList();

Callers 1

XlaBackendRegistrarMethod · 0.85

Calls 2

GetSymbolicDeviceListFunction · 0.85
insertMethod · 0.45

Tested by

no test coverage detected