I did include the stride. anything else could be wrong? thanks.
Could I send you my code?
First Test: Z’s mean is incorrect. Expected: 0.5511276474566768
Your output: 1.0644642603114827 . Make sure you include stride in your calculation
First Test: Z[0,2,1] is incorrect. Expected: [-2.17796037, 8.07171329, -0.5772704, 3.36286738, 4.48113645, -2.89198428, 10.99288867, 3.03171932]
Your output: [-5.42280893 1.88549165 -4.09974126 -3.48941271 -5.34564475 3.56732833
1.77640635 -2.33586583] Make sure you include stride in your calculation