zhanghang1989 / zhanghang1989/PyTorch-Encoding

About replace in ReLU and Dropout

Open
#399 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
2k
Forks
448
PR merge metrics
No merged PRs in 30d

Description

I noticed that a lot of your code is written like this

nn.ReLU(True),
nn.Dropout(0.1, False),

why you use inplace operator in activation fuction but not in dropout? Does this have any special meaning?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the Python entry points shown in the issue, nn.ReLU and nn.Dropout, and compare their documented arguments and uses in the repository. Done means documenting the distinction between the two boolean arguments and explaining whether their differing values have special meaning.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, pytorch
Domain
machine-learning
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.