pytorch
e3dcd175 - Support Tensor source for x.set_(storage, offset, size, strides)

Commit
3 years ago
Support Tensor source for x.set_(storage, offset, size, strides) This is convenient for cases where we don't have Storage bound correctly (e.g., meta tensors). It is also consistent with a universe where we get rid of storages, although arguably this is never gonna happen. Signed-off-by: Edward Z. Yang <ezyangfb.com> Pull Request resolved: https://github.com/pytorch/pytorch/pull/77007 Approved by: https://github.com/ngimel
Author
Committer
Parents
Loading