Skip to content

Add clip\clamp activation #518

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

Merged
merged 3 commits into from
Nov 26, 2021
Merged

Add clip\clamp activation #518

merged 3 commits into from
Nov 26, 2021

Conversation

Vozf
Copy link
Contributor

@Vozf Vozf commented Nov 26, 2021

No description provided.

@qubvel
Copy link
Collaborator

qubvel commented Nov 26, 2021

torch.clip is introduced just in pytorch 1.7.0, it is better to use torch.clamp imho, as they do the same

@Vozf
Copy link
Contributor Author

Vozf commented Nov 26, 2021

Should I rename all the clip instances or change the called function only?

@qubvel
Copy link
Collaborator

qubvel commented Nov 26, 2021

Better to rename

@Vozf Vozf changed the title Add clip activation Add clip\clamp activation Nov 26, 2021
@qubvel qubvel merged commit 4f94380 into qubvel-org:master Nov 26, 2021
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.

2 participants