Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- class BuildResult a where
- buildResult :: Result a
- buildOp :: BuildResult a => [Int64] -> OpDef -> Build a
- class PureResult a where
- pureResult :: ReaderT (Build OpDef) (State ResultState) a
- pureOp :: PureResult a => [Int64] -> Build OpDef -> a
- eqLengthGuard :: [(String, [(String, Int)])] -> Bool
- class BuildInputs a where
- buildInputs :: a -> Build [Output]
- type OpParams = OpDef -> OpDef
Documentation
class BuildResult a where Source #
Class of types that can be used as op outputs.
buildResult :: Result a Source #
Instances
class PureResult a where Source #
Class of types that can be used as op outputs.
Instances
eqLengthGuard :: [(String, [(String, Int)])] -> Bool Source #
Returns true if all the integers in each tuple are identical. Throws an error with a descriptive message if not.
class BuildInputs a where Source #
buildInputs :: a -> Build [Output] Source #
Instances
BuildInputs a => BuildInputs [a] Source # | |
Defined in TensorFlow.BuildOp buildInputs :: [a] -> Build [Output] Source # | |
BuildInputs (ListOf (Tensor v) as) Source # | |
Defined in TensorFlow.BuildOp | |
BuildInputs (Tensor v a) Source # | |
Defined in TensorFlow.BuildOp |