Skip to content

Fix undocumented behavior in deepxde.nn.activations.get(identifier)#2060

Open
echen5503 wants to merge 2 commits intolululxvi:masterfrom
echen5503:docs-fix-1
Open

Fix undocumented behavior in deepxde.nn.activations.get(identifier)#2060
echen5503 wants to merge 2 commits intolululxvi:masterfrom
echen5503:docs-fix-1

Conversation

@echen5503
Copy link
Copy Markdown
Contributor

No description provided.

Comment thread deepxde/nn/activations.py Outdated
Args:
identifier: Function or string (ELU, GELU, ReLU, SELU, Sigmoid, SiLU, sin,
Swish, tanh).
Swish, tanh, Linear).
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Linear --> linear

@echen5503
Copy link
Copy Markdown
Contributor Author

fixed

Comment thread deepxde/nn/activations.py

Returns:
Function corresponding to the input string or input function.
Function corresponding to the input string or input function, Linear if identifier is None.
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

"Linear" -> "linear"

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