Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mnist-Example #191

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open

Mnist-Example #191

wants to merge 1 commit into from

Conversation

kordjamshidi
Copy link
Member

No description provided.

@kordjamshidi kordjamshidi changed the base branch from master to develop September 15, 2020 16:07
nn.Linear(hidden_sizes[1], output_size),
nn.LogSoftmax(dim=1))
def forward(self, x):
return self.recognition(x)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why this code is needed here for this classification? Isn't there a learning module that can be used here? @guoquan @czheng17

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ModuleLearner uses a torch Module for calculating the result. Users need to define the Module anyway. You can find ModuleLearner(module=Net()) in the main code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants