(self, metadata: Any)
| 285 | |
| 286 | class MyFunction(tvm_ffi.Function, JitFunction): |
| 287 | def __init__(self, metadata: Any) -> None: |
| 288 | # Explicitly initialize the mixin. `super()` is not used because `tvm_ffi.Function` |
| 289 | # is an extension type without a standard `__init__`. |
| 290 | JitFunction.__init__(self, metadata) |
| 291 | |
| 292 | # When subclassing a Cython cdef class and overriding `__init__`, |
| 293 | # special methods like `__call__` may not be inherited automatically. |