Skip to content

[Tracking Issue][UX][Unity] Private annotations in TVMScipt #14899

@tqchen

Description

@tqchen

Global symbol right now needs to be manually attached, for better UX, it is desirable to move to the following model

class IRModule:
    # implies a private function
    @R.function(private=True)
    def func1():
        pass

    # implies a function with global_symbol=func2, and we do not need to fill in the attr field.
    @R.function
    def func2():
         pass

cc @quic-sanirudh

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:rfc-trackingRFC progress tracking. Ref: https://github.com/apache/tvm-rfcs

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions