torch:view
(torch:view a shape)
PyTorch's other reshape spelling. rontolisp arrays are always contiguous and every linalg result is a fresh copy, so view is exactly torch:reshape here -- it does not alias storage.
(torch:view a shape)
PyTorch's other reshape spelling. rontolisp arrays are always contiguous and every linalg result is a fresh copy, so view is exactly torch:reshape here -- it does not alias storage.