diff --git a/dezero/core.py b/dezero/core.py index 04985c9..dbd69f5 100644 --- a/dezero/core.py +++ b/dezero/core.py @@ -217,7 +217,7 @@ def forward(self, x0, x1): def backward(self, gy): gx0, gx1 = gy, gy - if self.x0_shape != self.x1_shape: # for broadcaset + if self.x0_shape != self.x1_shape: # for broadcast gx0 = dezero.functions.sum_to(gx0, self.x0_shape) gx1 = dezero.functions.sum_to(gx1, self.x1_shape) return gx0, gx1