MCPcopy 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
692PyObject* TensorWrapper::format() {
693 return py::cast(m_tensor->format().to_string()).release().ptr();
694}
695
696PyObject* TensorWrapper::numpy() {
697 auto hv = m_tensor->numpy();

Callers 15

setup.pyFile · 0.45
gen_version.pyFile · 0.45
skip_by_ngpuFunction · 0.45
skip_distributedFunction · 0.45
run_around_testsFunction · 0.45
test_training_convergeFunction · 0.45
test_profilerFunction · 0.45
test_profiler_distFunction · 0.45
__init__Method · 0.45
check_pygraph_dumpFunction · 0.45
test_set_graph_nameFunction · 0.45

Calls 4

castFunction · 0.85
ptrMethod · 0.45
releaseMethod · 0.45
to_stringMethod · 0.45

Tested by 15

skip_by_ngpuFunction · 0.36
skip_distributedFunction · 0.36
run_around_testsFunction · 0.36
test_training_convergeFunction · 0.36
test_profilerFunction · 0.36
test_profiler_distFunction · 0.36
__init__Method · 0.36
check_pygraph_dumpFunction · 0.36
test_set_graph_nameFunction · 0.36
workerFunction · 0.36
cvt_to_shape_descFunction · 0.36