Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegEngine
/ dtype
Method
dtype
src/custom/impl/tensor.cpp:455–458 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
453
}
454
455
DType Tensor::dtype(void) const {
456
auto builtin = TensorImplRef(m_tensor).dtype();
457
return DType(&builtin);
458
}
459
460
Format Tensor::format(void) const {
461
auto builtin = TensorImplRef(m_tensor).format();
Callers
15
write_tensor_to_file
Method · 0.45
numerical_diff_pt2
Method · 0.45
DEF_IMPL
Function · 0.45
test_serializer_multiple_param
Function · 0.45
test_serializer_paramerized_dtype
Function · 0.45
load_tensor_layout_without_format
Function · 0.45
load_tensor_shared
Method · 0.45
read_into_tensor
Method · 0.45
tensor_to_c
Function · 0.45
init_output_dtype
Method · 0.45
check_param
Method · 0.45
scn_do_execute
Method · 0.45
Calls
1
DType
Class · 0.85
Tested by
15
test_serializer_multiple_param
Function · 0.36
test_serializer_paramerized_dtype
Function · 0.36
run_test
Function · 0.36
run
Function · 0.36
TEST
Function · 0.36
TEST
Function · 0.36
TEST
Function · 0.36
TEST
Function · 0.36
TEST
Function · 0.36
TEST
Function · 0.36
TEST
Function · 0.36
TEST_PASS
Function · 0.36