MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / span

Method span

dnn/src/common/basic_types.cpp:405–407  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

403}
404
405TensorLayout::Span TensorLayout::span() const {
406 return format.impl()->span_spec(*this);
407}
408
409size_t TensorLayout::access_bytes() const {
410 megdnn_assert(dtype.valid());

Callers 15

np2tensor_try_borrowFunction · 0.80
ndarray_from_tensorFunction · 0.80
TensorMethod · 0.80
calcMethod · 0.80
visit_eventMethod · 0.80
matchMethod · 0.80
checkMethod · 0.80
hashMethod · 0.80
lookupMethod · 0.80
resetMethod · 0.80
write_tensor_to_fileMethod · 0.80

Calls 2

span_specMethod · 0.80
implMethod · 0.45

Tested by 15

test_serializer_memshareFunction · 0.64
TESTFunction · 0.64
eval_conv_cpuFunction · 0.64
run_noncontig_testFunction · 0.64
TEST_FFunction · 0.64
eval_conv_cpuFunction · 0.64
TESTFunction · 0.64
TESTFunction · 0.64
test_null_gradFunction · 0.64