mirror of
https://github.com/tinygrad/tinygrad.git
synced 2026-01-09 06:58:11 -05:00
batchnorm d(var)/d(mean) = 0 (#4430)
* d(var)/d(mean) = 0 * drop the number in test_schedule!
This commit is contained in:
@@ -208,7 +208,7 @@ class TestSchedule(unittest.TestCase):
|
||||
opt.zero_grad()
|
||||
img_bn.backward()
|
||||
# this is too high
|
||||
check_schedule(opt.schedule_step(), 18)
|
||||
check_schedule(opt.schedule_step(), 17)
|
||||
|
||||
def test_fold_conv_relu(self):
|
||||
c1 = nn.Conv2d(3,16,3)
|
||||
|
||||
Reference in New Issue
Block a user