cranky-coder08's picture
Add files using upload-large-folder tool
f4cade0 verified
import torch
class _WrapperModule(torch.nn.Module):
def __init__(self, f): # type: ignore[no-untyped-def]
super().__init__()
self.f = f
def forward(self, *args, **kwargs): # type: ignore[no-untyped-def]
return self.f(*args, **kwargs)