You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes we need to add a context to a class wrapper for calling it later on from other sections of the code:
# context can be a list of multiple contexts to consider
@dyw.dynamize(add_contexts=['torch'])
class A:
layer = dyw.composite('nn.Linear`, in_features=10, out_features=100)
The text was updated successfully, but these errors were encountered:
Sometimes we need to add a context to a class wrapper for calling it later on from other sections of the code:
The text was updated successfully, but these errors were encountered: