Since a[0] is part of a

Well it is not. It is the same as doing a.select(0, 0). And it just returns a new Tensor that shares memory.
You can check our doc about Tensor views for more details: Tensor Views — PyTorch 1.8.1 documentation 8