torch.as_tensor(np_array) is sometimes much faster than torch.tensor(np_array) #38703
Labels
module: numpy
Related to numpy support, and also numpy compatibility of our operators
module: performance
Issues related to performance, either of kernel code or framework glue
triaged
This issue has been looked at a team member, and triaged and prioritized into an appropriate module
Per title. Reported internally. See related (but distinct) #13918, which discusses conversion from lists of arrays.
cc @mruberry @VitalyFedyunin @ngimel
The text was updated successfully, but these errors were encountered: