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:
parent
7e0ef4bcd3
commit
d79a919efa
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue