Skip to content

Conversation

@jaybdub
Copy link
Contributor

@jaybdub jaybdub commented Sep 17, 2019

adds

  • torch.add for torch.add(a, b)
  • torch.Tensor.__iadd__ for a += b
  • torch.div for torch.div(a, b)
  • torch.Tensor.__itruediv__ for a /= b
  • torch.mul for torch.mul(a, b)
  • torch.Tensor.__imul__ for a *= b

@jaybdub jaybdub merged commit 51e0c95 into master Sep 17, 2019
@jaybdub jaybdub deleted the torch_methods branch September 17, 2019 20:57
jaybdub added a commit that referenced this pull request Jun 28, 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