Add int
and str
type to device
parameter of torch.tensor()
#126404
Labels
module: python frontend
For issues relating to PyTorch's Python frontend
triaged
This issue has been looked at a team member, and triaged and prioritized into an appropriate module
π The doc issue
The doc explains
device
parameter but it doesn't haveint
andstr
type as shown below:Actually,
device
parameter withint
andstr
type works as shown below:Suggest a potential alternative/fix
No response
cc @albanD
The text was updated successfully, but these errors were encountered: