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

Method Device

tensorflow/compiler/xla/python/local_client.h:44–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42class Device {
43 public:
44 explicit Device(int id, std::unique_ptr<LocalDeviceState> local_device_state,
45 absl::string_view platform_name, int host_id = 0)
46 : id_(id),
47 local_device_state_(std::move(local_device_state)),
48 host_id_(host_id),
49 platform_name_(platform_name) {}
50 virtual ~Device() {}
51
52 // The ID of this device. IDs are unique among devices of this type

Callers 15

xrt_execute_op.ccFile · 0.45
xrt_compile_ops.ccFile · 0.45
xrt_state_ops.ccFile · 0.45
BuildIfNodeMethod · 0.45
BuildGraphMethod · 0.45
MakeSequencingNodeMethod · 0.45
BuildXlaAsyncOutSendNodeFunction · 0.45
BuildXlaAsyncOutRecvNodeFunction · 0.45

Calls

no outgoing calls

Tested by 3

BuildGraphMethod · 0.36
MakeOuterGraphFunction · 0.36
TEST_FFunction · 0.36