Number of output channels of first arg do not match number input channels of second arg
Package:
torch
50580

Exception Class:
TypeError
Raise code
''' ranges of the first tensors' output channel are equal to the
ranges of the second tensors' input channel
'''
if type(module1) not in _supported_types or type(module2) not in _supported_types:
raise ValueError("module type not supported:", type(module1), " ", type(module2))
if module1.weight.size(output_axis) != module2.weight.size(input_axis):
raise TypeError("Number of output channels of first arg do not match \
number input channels of second arg")
weight1 = module1.weight
weight2 = module2.weight
bias = module1.bias
weight1_range = channel_range(weight1, output_axis)
weig
Links to the raise (1)
https://github.com/pytorch/pytorch/blob/e56d3b023818f54553f2dc5d30b6b7aaf6b6a325/torch/quantization/_equalize.py#L45NO FIXES YET
Just press the button and we will add solution
to this exception as soon as possible
* As many users press the button, the faster we create a fix
Add a possible fix
Please authorize to post fix