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

Method _detail

imperative/python/src/tensor.cpp:663–665  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

661}
662
663PyObject* TensorWrapper::_detail() {
664 return py::str(m_tensor->data().unwrap().to_string()).release().ptr();
665}
666
667void TensorWrapper::_watch() {
668 m_tensor->data().watch();

Callers

nothing calls this directly

Calls 6

strFunction · 0.85
ptrMethod · 0.45
releaseMethod · 0.45
to_stringMethod · 0.45
unwrapMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected