I don’t think so.
Even if you could create a tensor containing single elements so that you could use expand, you would still have to call contiguous() before the view() call, which would increase the memory again:
x = x.expand(-1, -1, 6, 2)
print(x.contiguous().view(-1))