transformers
f5eec0d8
- Replace legacy tensor.Tensor with torch.tensor/torch.empty (#12027)
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Commit
View On
GitHub
Commit
4 years ago
Replace legacy tensor.Tensor with torch.tensor/torch.empty (#12027) * Replace legacy torch.Tensor constructor with torch.{tensor, empty} * Remove torch.Tensor in examples
References
#12027 - Replace legacy tensor.Tensor with torch.tensor/torch.empty
Author
mariosasko
Parents
e33085d6
Loading