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

Method WithDevice

tensorflow/cc/framework/scope.cc:449–451  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

447}
448
449Scope Scope::WithDevice(const string& device) const {
450 return Scope(new Impl(*this, Impl::Tags::Device(), device));
451}
452
453Scope Scope::WithAssignedDevice(const string& assigned_device) const {
454 return Scope(new Impl(*this, Impl::Tags::AssignedDevice(), assigned_device));

Callers 5

CWiseUnaryGradTestMethod · 0.45
MathGradTestMethod · 0.45
NaryGradTestMethod · 0.45
ProdGradFunction · 0.45
TEST_FFunction · 0.45

Calls 2

ScopeClass · 0.70
DeviceEnum · 0.70

Tested by 4

CWiseUnaryGradTestMethod · 0.36
MathGradTestMethod · 0.36
NaryGradTestMethod · 0.36
TEST_FFunction · 0.36