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

Method __init__

scripts/gdb/pretty_printers.py:81–83  ·  view source on GitHub ↗
(self, val)

Source from the content-addressed store, hash-verified

79
80class HandlePrinter:
81 def __init__(self, val):
82 impl = gdb.lookup_type("mgb::imperative::interpreter::intl::TensorInfo")
83 self.val = val.cast(impl.pointer())
84
85 def to_string(self):
86 if self.val:

Callers

nothing calls this directly

Calls 1

castMethod · 0.45

Tested by

no test coverage detected