-
-
Save yashppawar/18fa4b21cfd766348ca67d0f4c075995 to your computer and use it in GitHub Desktop.
a model which contains an error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import torch.nn as nn | |
class DemoErrorModel(nn.Module): | |
def __init__(self, input_size=10, num_classes=2): | |
super(DemoErrorModel, self).__init__() | |
self.layer = nn.Linear(input_size, num_classes) | |
def foward(self, X): | |
return self.layer(X) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment