You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
why are kernel1's axes and kernel2's axes moved by np.moveaxis differently?
kernel1 has shape (3, 3, 1, 32) so after np.moveaxis(kernel1, [2, 3], [0, 1]), its shape will be (1, 32, 3, 3), NOT (32, 1, 3, 3) as showned on the next line.
Wondering if this is a bug.
Thanks!
The text was updated successfully, but these errors were encountered:
in the file
examples/mnist/mnist-cnn.py
why are
kernel1
's axes andkernel2
's axes moved bynp.moveaxis
differently?kernel1
has shape(3, 3, 1, 32)
so afternp.moveaxis(kernel1, [2, 3], [0, 1])
, its shape will be(1, 32, 3, 3)
, NOT(32, 1, 3, 3)
as showned on the next line.Wondering if this is a bug.
Thanks!
The text was updated successfully, but these errors were encountered: