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

Method FillPossibleDevices

tensorflow/core/common_runtime/colocation_graph.cc:191–203  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

189}
190
191Status Member::FillPossibleDevices(PossibleDevices* possible_device) const {
192 if (DeviceNameUtils::HasSomeDetails(assigned_device_name_)) {
193 return errors::Internal(
194 "Cannot fill PossibleDevices from a member that has non-empty assigned "
195 "device. Did we start assigning devices to functions called by deep "
196 "ops? ",
197 DebugString());
198 }
199 possible_device->requested_device_name = requested_device_name_;
200 possible_device->resource_device_name = resource_device_name_;
201 possible_device->device_types = supported_device_types_;
202 return Status::OK();
203}
204
205Status Member::EnsureCompatibilityAcrossResourceEdge(
206 const Node& src, const Member& src_root,

Callers 1

FillGroupsMethod · 0.80

Calls 2

InternalFunction · 0.85
DebugStringFunction · 0.70

Tested by 1

FillGroupsMethod · 0.64