Tensor Slice Views?

Hi @albanD ,I have been trying to do weight clustering and have also posed a question for the same at https://discuss.pytorch.org/t/weight-clustering/142155. However,as Patrick rightly points out that, the model size won’t reduce (which is my ultimate goal) because each weight is saved individually. Is there a way of using view to utilize the same memory storage to achieve this? Could you possibly direct me to a way or an example that can help achieve this in reference to the question I posed? As this thread was somewhat relevant with views , I thought of asking it here.