MCPcopy Create free account
hub / github.com/MrNeRF/LichtFeld-Studio / device_impl

Method device_impl

src/core/tensor/tensor.cpp:180–180  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

178
179 const TensorShape& TensorLeaf::shape_impl() const { return tensor_ptr_->shape(); }
180 Device TensorLeaf::device_impl() const { return tensor_ptr_->device(); }
181 DataType TensorLeaf::dtype_impl() const { return tensor_ptr_->dtype(); }
182 cudaStream_t TensorLeaf::stream_hint_impl() const { return tensor_ptr_ ? tensor_ptr_->stream() : nullptr; }
183

Callers 1

TESTFunction · 0.45

Calls 1

deviceMethod · 0.45

Tested by 1

TESTFunction · 0.36