junrushao opened a new pull request, #268:
URL: https://github.com/apache/tvm-ffi/pull/268
This is the last component before introducing whole-package generation.
With the directive below
```python
__all__ = [
# tvm-ffi-stubgen(begin): __all__
# tvm-ffi-stubgen(end)
]
```
, this PR enables generation of all auto-generated global functions and
classes, e.g.:
```diff
__all__ = [
# tvm-ffi-stubgen(begin): __all__
+ "Array",
+ "ArrayGetItem",
+ "ArraySize",
+ "Bytes",
+ "FromJSONGraph",
+ "FromJSONGraphString",
+ "FunctionListGlobalNamesFunctor",
+ "FunctionRemoveGlobal",
+ "GetFirstStructuralMismatch",
+ "GetGlobalFuncMetadata",
+ "GetRegisteredTypeKeys",
+ "MakeObjectFromPackedArgs",
+ "Map",
+ "MapCount",
+ "MapForwardIterFunctor",
+ "MapGetItem",
+ "MapSize",
+ "ModuleClearImports",
+ "ModuleGetFunction",
+ "ModuleGetFunctionDoc",
+ "ModuleGetFunctionMetadata",
+ "ModuleGetKind",
+ "ModuleGetPropertyMask",
+ "ModuleGetWriteFormats",
+ "ModuleImplementsFunction",
+ "ModuleImportModule",
+ "ModuleInspectSource",
+ "ModuleLoadFromFile",
+ "ModuleWriteToFile",
+ "Shape",
+ "String",
+ "StructuralHash",
+ "SystemLib",
+ "ToJSONGraph",
+ "ToJSONGraphString",
# tvm-ffi-stubgen(end)
]
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]