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

Documentation updates #242

Merged
merged 4 commits into from
Jun 4, 2018
Merged

Conversation

taketwo
Copy link
Contributor

@taketwo taketwo commented Jun 1, 2018

This PR contains a bunch of minor documentation fixes, see individual commit messages. Closes #238.

Copy link
Collaborator

@BenjaminBossan BenjaminBossan left a comment

Choose a reason for hiding this comment

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

Apart from a typo, this looks good. I will probably merge on Monday.

:func:`~skorch.net.NeuralNet.forward_iter` method to generate outputs
from the ``module``, or directly call ``net.module_(X)``.
If the :func:`~torch.nn.Module.forward`\-output can not be meaningfuly
casted to a :class:`numpy.ndarray`, or if you need access to all
Copy link
Collaborator

Choose a reason for hiding this comment

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

casted cast

@taketwo
Copy link
Contributor Author

taketwo commented Jun 4, 2018

Frankly, this is a mistake, not a typo :) Will update this PR on Monday.

@taketwo
Copy link
Contributor Author

taketwo commented Jun 4, 2018

Done.

converted to a ``numpy`` array. Alternatively, consider using the
:func:`~skorch.net.NeuralNet.forward_iter` method to generate outputs
from the ``module``, or directly call ``net.module_(X)``.
If the :func:`~torch.nn.Module.forward`\-output can not be meaningfuly
Copy link
Contributor

Choose a reason for hiding this comment

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

Sorry, I noticed the typo in "meaningfuly" just now. But I wonder whether this word is needed here at all. If the passage just reads "... cannot be cast to ...", the meaning should be clear.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Agree, fixed.

@benjamin-work
Copy link
Contributor

Great, thanks.

@benjamin-work benjamin-work merged commit e566d89 into skorch-dev:master Jun 4, 2018
@taketwo taketwo deleted the doc-updates branch June 4, 2018 15:25
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.

Canonical way to run inference on a trained model?
3 participants