Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegEngine
/ shape
Method
shape
src/custom/impl/tensor.cpp:450–453 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
448
}
449
450
Shape Tensor::shape(void) const {
451
auto builtin = TensorImplRef(m_tensor).shape();
452
return Shape(&builtin);
453
}
454
455
DType Tensor::dtype(void) const {
456
auto builtin = TensorImplRef(m_tensor).dtype();
Callers
15
update_input_lite_tensors
Method · 0.45
format_and_print
Method · 0.45
config_model_internel<ModelLite>
Method · 0.45
config_model_internel<ModelMdl>
Method · 0.45
config_model_internel<ModelMdl>
Method · 0.45
init_extern_param
Method · 0.45
get_io_info
Method · 0.45
write_tensor_to_file
Method · 0.45
numerical_diff_pt2
Method · 0.45
DEF_IMPL
Function · 0.45
test_serializer_APlusB
Function · 0.45
test_serializer_APlusB_param
Function · 0.45
Calls
no outgoing calls
Tested by
15
test_serializer_APlusB
Function · 0.36
test_serializer_APlusB_param
Function · 0.36
test_serializer_immutable
Function · 0.36
test_serializer_custom_loader
Function · 0.36
test_serializer_many_io_var
Function · 0.36
test_serializer_remove_set_grad
Function · 0.36
test_serializer_multiple_param
Function · 0.36
test_serializer_const_var_shape
Function · 0.36
run_test
Function · 0.36
TEST
Function · 0.36
TEST
Function · 0.36
TEST
Function · 0.36