Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
Class of types that can be used as op outputs.
toResult
OpResult ControlNode Source | |
OpResult a => OpResult [a] Source | |
(OpResult a1, OpResult a2) => OpResult (a1, a2) Source | |
OpResult (Tensor Ref a) Source | |
OpResult (Tensor Value a) Source | |
(OpResult a1, OpResult a2, OpResult a3) => OpResult (a1, a2, a3) Source | |
(OpResult a1, OpResult a2, OpResult a3, OpResult a4) => OpResult (a1, a2, a3, a4) Source | |
(OpResult a1, OpResult a2, OpResult a3, OpResult a4, OpResult a5) => OpResult (a1, a2, a3, a4, a5) Source | |
(OpResult a1, OpResult a2, OpResult a3, OpResult a4, OpResult a5, OpResult a6) => OpResult (a1, a2, a3, a4, a5, a6) Source |
Class of types that can be used as op functions.
buildOp'
BuildOp ControlNode Source | |
BuildOp [Tensor Value a] Source | |
OpResult a => BuildOp (Build a) Source | |
BuildOp f => BuildOp ([Tensor v a] -> f) Source | |
BuildOp f => BuildOp (Tensor v a -> f) Source | |
(OpResult t1, OpResult t2) => BuildOp (t1, t2) Source | |
BuildOp (Tensor Ref a) Source | |
BuildOp (Tensor Value a) Source | |
(OpResult t1, OpResult t2, OpResult t3) => BuildOp (t1, t2, t3) Source | |
(OpResult t1, OpResult t2, OpResult t3, OpResult t4) => BuildOp (t1, t2, t3, t4) Source | |
(OpResult t1, OpResult t2, OpResult t3, OpResult t4, OpResult t5) => BuildOp (t1, t2, t3, t4, t5) Source | |
(OpResult t1, OpResult t2, OpResult t3, OpResult t4, OpResult t5, OpResult t6) => BuildOp (t1, t2, t3, t4, t5, t6) Source |
buildOp :: BuildOp f => OpDef -> f Source
Starts an operation that returns a structured set of tensors (singletons or tuples).
Starts an operation that returns a list of tensors.