MCPcopy Create free account
hub / github.com/apache/singa / device

Method device

include/singa/core/tensor.h:82–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80 Block *block() const { return block_; }
81
82 std::shared_ptr<Device> device() const { return device_; }
83
84 /// Return immutable Tensor values with given type.
85 template <typename SType>

Callers 15

backwardMethod · 0.95
backwardMethod · 0.95
backwardMethod · 0.95
backwardMethod · 0.95
handle_odd_pad_fwdFunction · 0.80
backwardFunction · 0.80
_do_forwardMethod · 0.80
forwardMethod · 0.80
forwardMethod · 0.80
forwardMethod · 0.80
forwardMethod · 0.80
backwardMethod · 0.80

Calls

no outgoing calls

Tested by 6

_cTensor_to_pyTensorFunction · 0.64
_ctensor_eq_ndarrayFunction · 0.64
print_tFunction · 0.64
TEST_FFunction · 0.64
TESTFunction · 0.64
TEST_FFunction · 0.64