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

Method Tensor

src/core/tensor/tensor.cc:43–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41}
42
43Tensor::Tensor() {
44 device_ = defaultDevice;
45 stride_ = {1};
46}
47
48// non-strided constructors
49Tensor::Tensor(const Shape &shape, DataType dtype)

Callers 15

handle_odd_pad_fwdFunction · 0.80
forwardMethod · 0.80
forwardMethod · 0.80
forwardMethod · 0.80
forwardMethod · 0.80
backwardMethod · 0.80
forwardMethod · 0.80
forwardMethod · 0.80
backwardMethod · 0.80
backwardMethod · 0.80
backwardMethod · 0.80

Calls 5

ProductFunction · 0.85
SizeOfFunction · 0.85
NewBlockMethod · 0.80
IncRefCountMethod · 0.80
blockMethod · 0.45

Tested by 15

test_sgd_const_lrMethod · 0.64
test_RMSProp_const_lrMethod · 0.64
test_AdaGrad_const_lrMethod · 0.64
test_Adam_const_lrMethod · 0.64
_conv2d_helperMethod · 0.64
_avg_pool_helperMethod · 0.64
_max_pool_helperMethod · 0.64
_linear_helperMethod · 0.64