Skip to content

Commit cac45d1

Browse files
committed
Delete inaccurate comments
1 parent bebc4aa commit cac45d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tensorflow-ops/src/TensorFlow/Gradient.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -444,8 +444,8 @@ gradForBinaryCwise (x, gx) (y, gy) =
444444
where
445445
dx = reshape (sum gx rx) sx
446446
dy = reshape (sum gy ry) sy
447-
sx = shape x -- (x :: Tensor Build t)
448-
sy = shape y -- (y :: Tensor Build t)
447+
sx = shape x
448+
sy = shape y
449449
(rx, ry) = broadcastGradientArgs sx sy
450450

451451
-- | The gradient function for an op type.

0 commit comments

Comments
 (0)