torch.Tensor, PyTorch Authors, 2024 - The official API reference for torch.Tensor, explaining its structure, metadata (device, dtype, shape, stride, storage offset), and methods like is_contiguous() and contiguous(), along with its relationship to underlying storage.
Deep Learning with PyTorch, Eli Stevens, Luca Antiga, and Thomas Viehmann, 2020 (Manning Publications) - A comprehensive book providing explanations of PyTorch's architecture, including how tensors are implemented internally, their memory layout, and performance implications of operations like views and copies.