MCPcopy Create free account
hub / github.com/apache/tvm-ffi / create

Method create

python/tvm_ffi/error.py:130–133  ·  view source on GitHub ↗
(
            tb: types.TracebackType | None, frame: types.FrameType, lineno: int
        )

Source from the content-addressed store, hash-verified

128 # the locals of `append_traceback`. See the diagram in `_with_append_backtrace`
129 # and PR #327 for more details.
130 def create(
131 tb: types.TracebackType | None, frame: types.FrameType, lineno: int
132 ) -> types.TracebackType:
133 return types.TracebackType(tb, frame, frame.f_lasti, lineno)
134
135 return create(tb, self._create_frame(filename, lineno, func), lineno)
136

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected