krishnamurthy:

Your usage of LinearTransformation() appears to be inconsistent with the latest API. LinearTransformation() expects a transformation_matrix and a mean_vector . It seems like you’re providing only the transformation_matrix .


Yes, I tried to do that but if I recall, when I tried to set the mean, I got this error.

TypeError: init() takes 2 positional arguments but 3 were given
Seams that I cannot provide second parameter at all.

PyTorch ver 1.0.0