1
0
Fork 0
mirror of https://github.com/tensorflow/haskell.git synced 2024-11-26 21:09:44 +01:00

Fix a small typo in the warning message of numOutputs (#151)

This commit is contained in:
Nathan T.A. Lewis 2017-08-24 15:34:22 -06:00 committed by fkm3
parent 7e0ef4bcd3
commit d79a919efa

View file

@ -817,7 +817,7 @@ numOutputs o =
"Variable" -> 1 "Variable" -> 1
"ZerosLike" -> 1 "ZerosLike" -> 1
"Fill" -> 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` -- Divides `x / y` assuming `x, y >= 0`, treating `0 / 0 = 0`
safeShapeDiv :: Tensor v1 Int32 -> Tensor v2 Int32 -> Tensor Build Int32 safeShapeDiv :: Tensor v1 Int32 -> Tensor v2 Int32 -> Tensor Build Int32