From d79a919efac7e2dd3ee4f23f2b909265f5c7cd15 Mon Sep 17 00:00:00 2001 From: "Nathan T.A. Lewis" Date: Thu, 24 Aug 2017 15:34:22 -0600 Subject: [PATCH] Fix a small typo in the warning message of numOutputs (#151) --- tensorflow-ops/src/TensorFlow/Gradient.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tensorflow-ops/src/TensorFlow/Gradient.hs b/tensorflow-ops/src/TensorFlow/Gradient.hs index 5adbce6..76f7c68 100644 --- a/tensorflow-ops/src/TensorFlow/Gradient.hs +++ b/tensorflow-ops/src/TensorFlow/Gradient.hs @@ -817,7 +817,7 @@ numOutputs o = "Variable" -> 1 "ZerosLike" -> 1 "Fill" -> 1 - _ -> error $ "numOuputs not implemented for " ++ show (o ^. op) + _ -> error $ "numOutputs not implemented for " ++ show (o ^. op) -- Divides `x / y` assuming `x, y >= 0`, treating `0 / 0 = 0` safeShapeDiv :: Tensor v1 Int32 -> Tensor v2 Int32 -> Tensor Build Int32