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

Method device

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

Source from the content-addressed store, hash-verified

186 const Shape& on_host_shape() const { return on_host_shape_; }
187 const Shape& on_device_shape() const { return on_device_shape_; }
188 std::shared_ptr<Device> device() const { return device_; }
189 const std::string& platform_name() const { return client_->platform_name(); }
190 std::shared_ptr<PyLocalClient> client() const { return client_; }
191

Callers 15

ForceUseLocalhostDeviceFunction · 0.45
EvaluateOperationFunction · 0.45
HandleReplicateOpFunction · 0.45
ConvertNodeMethod · 0.45
ParseShardingFromDeviceFunction · 0.45
CompileImplMethod · 0.45
testCopiesMethod · 0.45
_verifyCholeskyMethod · 0.45

Calls

no outgoing calls

Tested by 15

testCopiesMethod · 0.36
_verifyCholeskyMethod · 0.36
_VerifyOneTestMethod · 0.36
_VerifyValuesMethod · 0.36
testLrnGradMethod · 0.36
testSimpleMethod · 0.36
testDefunMethod · 0.36
testThreefry2x32Method · 0.36
testPhilox4x32Method · 0.36
testNewStateThreeFryMethod · 0.36