mixmo.utils.torchutils.
_calculate_fan_in_and_fan_out
Compute the minimal input and output sizes for the weight tensor