Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegEngine
/ format
Method
format
imperative/python/src/tensor.cpp:692–694 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
690
}
691
692
PyObject* TensorWrapper::format() {
693
return py::cast(m_tensor->format().to_string()).release().ptr();
694
}
695
696
PyObject* TensorWrapper::numpy() {
697
auto hv = m_tensor->numpy();
Callers
15
setup.py
File · 0.45
gen_version.py
File · 0.45
skip_by_ngpu
Function · 0.45
skip_distributed
Function · 0.45
run_around_tests
Function · 0.45
test_training_converge
Function · 0.45
test_profiler
Function · 0.45
test_profiler_dist
Function · 0.45
test_persistent_cache_redis
Function · 0.45
__init__
Method · 0.45
check_pygraph_dump
Function · 0.45
test_set_graph_name
Function · 0.45
Calls
4
cast
Function · 0.85
ptr
Method · 0.45
release
Method · 0.45
to_string
Method · 0.45
Tested by
15
skip_by_ngpu
Function · 0.36
skip_distributed
Function · 0.36
run_around_tests
Function · 0.36
test_training_converge
Function · 0.36
test_profiler
Function · 0.36
test_profiler_dist
Function · 0.36
test_persistent_cache_redis
Function · 0.36
__init__
Method · 0.36
check_pygraph_dump
Function · 0.36
test_set_graph_name
Function · 0.36
worker
Function · 0.36
cvt_to_shape_desc
Function · 0.36