Open L-Icarus opened 3 years ago
Thanks! axis
instead of dim
is definitely a bug.
But no worries, this doesn't affect performance, since pytorch just replaces a wrong keyword axis
to correct dim
and works as expected.
If you want to fix this bug just make PR, I'll approve it.
My torch version is 1.1.0. torch.mean(input, dim, out=None) → Tensor