Skip to content

Remove unnecessary numpy dependency, replace math.exp w/ torch.exp#12

Open
trougnouf wants to merge 1 commit intoPo-Hsun-Su:masterfrom
trougnouf:rmdep
Open

Remove unnecessary numpy dependency, replace math.exp w/ torch.exp#12
trougnouf wants to merge 1 commit intoPo-Hsun-Su:masterfrom
trougnouf:rmdep

Conversation

@trougnouf
Copy link
Copy Markdown

I don't really know what works or doesn't with autograd/backward but I'm guessing it's better to use torch functions when available, and numpy is an unused import.

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.

1 participant