You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by "tqchen (via GitHub)" <gi...@apache.org> on 2023/06/09 17:13:08 UTC
[GitHub] [tvm] tqchen commented on issue #14899: [Tracking Issue][UX][Unity] Private annotations in TVMScipt
tqchen commented on issue #14899:
URL: https://github.com/apache/tvm/issues/14899#issuecomment-1584904252
i think below would work
```python
def dec(f=None, label=None):
def wrap_function(f):
def wrapper(*args, **kwargs):
if f is None:
if f is not None:
return wrap_function(f)
else:
return wrap_function
```
--
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: commits-unsubscribe@tvm.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org