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

Method devices

tensorflow/core/common_runtime/eager/context.h:148–148  ·  view source on GitHub ↗

TODO(apassos) make this return a constant reference

Source from the content-addressed store, hash-verified

146
147 // TODO(apassos) make this return a constant reference
148 std::vector<Device*>* devices() { return &devices_; }
149 const std::vector<DeviceType>& prioritized_device_type_list() {
150 return prioritized_device_type_list_;
151 }

Callers 15

AddDevicesMethod · 0.45
TEST_FFunction · 0.45
InlineFunctionCallsFunction · 0.45
OptimizeMethod · 0.45
OptimizeGraphFunction · 0.45
VirtualClusterMethod · 0.45
RunMethod · 0.45
GetDevicesForNodeMethod · 0.45
InitializeMemberMethod · 0.45
InitBaseGraphMethod · 0.45
OptimizeGraphMethod · 0.45

Calls

no outgoing calls

Tested by 3

TEST_FFunction · 0.36
TEST_FFunction · 0.36
TESTFunction · 0.36