Call the named function from the VM module using the arguments set using `set_input`. It is an error to call `invoke_stateful` without using `set_input` first (even if it's to set 0 inputs); conversely, if `set_input` has been called, it is an error to call the funct
(self, func_name: str)
| 276 | self._set_input(func_name, *cargs) |
| 277 | |
| 278 | def invoke_stateful(self, func_name: str) -> None: |
| 279 | """ |
| 280 | Call the named function from the VM module using the arguments set using `set_input`. |
| 281 | It is an error to call `invoke_stateful` without using `set_input` first |
| 282 | (even if it's to set 0 inputs); conversely, if `set_input` has been called, |
| 283 | it is an error to call the function without using `invoke_stateful`. |
| 284 | |
| 285 | The results of the call can be obtained by calling `get_outputs`. |
| 286 | |
| 287 | Parameters |
| 288 | ---------- |
| 289 | func_name: str |
| 290 | The name of the function to call. |
| 291 | """ |
| 292 | self._invoke_stateful(func_name) |
| 293 | |
| 294 | def get_outputs(self, func_name: str) -> tvm.Object | tuple[Any]: |
| 295 | """ |
no outgoing calls