tensorflow-0.1.0.2: TensorFlow bindings.

Safe HaskellNone
LanguageHaskell2010

TensorFlow.BuildOp

Synopsis

Documentation

class BuildResult a where Source #

Class of types that can be used as op outputs.

Minimal complete definition

buildResult

Methods

buildResult :: Result a Source #

Instances

BuildResult ControlNode Source # 

Methods

buildResult :: Result ControlNode Source #

BuildResult a => BuildResult [a] Source # 

Methods

buildResult :: Result [a] Source #

(BuildResult a1, BuildResult a2) => BuildResult (a1, a2) Source # 

Methods

buildResult :: Result (a1, a2) Source #

(TensorKind v, Rendered (Tensor v), TensorTypes as) => BuildResult (TensorList v as) Source # 

Methods

buildResult :: Result (TensorList v as) Source #

(TensorKind v, Rendered (Tensor v)) => BuildResult (Tensor v a) Source # 

Methods

buildResult :: Result (Tensor v a) Source #

(BuildResult a1, BuildResult a2, BuildResult a3) => BuildResult (a1, a2, a3) Source # 

Methods

buildResult :: Result (a1, a2, a3) Source #

(BuildResult a1, BuildResult a2, BuildResult a3, BuildResult a4) => BuildResult (a1, a2, a3, a4) Source # 

Methods

buildResult :: Result (a1, a2, a3, a4) Source #

(BuildResult a1, BuildResult a2, BuildResult a3, BuildResult a4, BuildResult a5) => BuildResult (a1, a2, a3, a4, a5) Source # 

Methods

buildResult :: Result (a1, a2, a3, a4, a5) Source #

(BuildResult a1, BuildResult a2, BuildResult a3, BuildResult a4, BuildResult a5, BuildResult a6) => BuildResult (a1, a2, a3, a4, a5, a6) Source # 

Methods

buildResult :: Result (a1, a2, a3, a4, a5, a6) Source #

(BuildResult a1, BuildResult a2, BuildResult a3, BuildResult a4, BuildResult a5, BuildResult a6, BuildResult a7) => BuildResult (a1, a2, a3, a4, a5, a6, a7) Source # 

Methods

buildResult :: Result (a1, a2, a3, a4, a5, a6, a7) Source #

(BuildResult a1, BuildResult a2, BuildResult a3, BuildResult a4, BuildResult a5, BuildResult a6, BuildResult a7, BuildResult a8) => BuildResult (a1, a2, a3, a4, a5, a6, a7, a8) Source # 

Methods

buildResult :: Result (a1, a2, a3, a4, a5, a6, a7, a8) Source #

class PureResult a where Source #

Class of types that can be used as op outputs.

Minimal complete definition

pureResult

Methods

pureResult :: ReaderT (Build OpDef) (State ResultState) a Source #

Instances

PureResult a => PureResult [a] Source # 

Methods

pureResult :: ReaderT * (Build OpDef) (State ResultState) [a] Source #

(PureResult a1, PureResult a2) => PureResult (a1, a2) Source # 

Methods

pureResult :: ReaderT * (Build OpDef) (State ResultState) (a1, a2) Source #

TensorTypes as => PureResult (TensorList Build as) Source # 

Methods

pureResult :: ReaderT * (Build OpDef) (State ResultState) (TensorList Build as) Source #

PureResult (Tensor Build a) Source # 

Methods

pureResult :: ReaderT * (Build OpDef) (State ResultState) (Tensor Build a) Source #

(PureResult a1, PureResult a2, PureResult a3) => PureResult (a1, a2, a3) Source # 

Methods

pureResult :: ReaderT * (Build OpDef) (State ResultState) (a1, a2, a3) Source #

(PureResult a1, PureResult a2, PureResult a3, PureResult a4) => PureResult (a1, a2, a3, a4) Source # 

Methods

pureResult :: ReaderT * (Build OpDef) (State ResultState) (a1, a2, a3, a4) Source #

(PureResult a1, PureResult a2, PureResult a3, PureResult a4, PureResult a5) => PureResult (a1, a2, a3, a4, a5) Source # 

Methods

pureResult :: ReaderT * (Build OpDef) (State ResultState) (a1, a2, a3, a4, a5) Source #

(PureResult a1, PureResult a2, PureResult a3, PureResult a4, PureResult a5, PureResult a6) => PureResult (a1, a2, a3, a4, a5, a6) Source # 

Methods

pureResult :: ReaderT * (Build OpDef) (State ResultState) (a1, a2, a3, a4, a5, a6) Source #

(PureResult a1, PureResult a2, PureResult a3, PureResult a4, PureResult a5, PureResult a6, PureResult a7) => PureResult (a1, a2, a3, a4, a5, a6, a7) Source # 

Methods

pureResult :: ReaderT * (Build OpDef) (State ResultState) (a1, a2, a3, a4, a5, a6, a7) Source #

(PureResult a1, PureResult a2, PureResult a3, PureResult a4, PureResult a5, PureResult a6, PureResult a7, PureResult a8) => PureResult (a1, a2, a3, a4, a5, a6, a7, a8) Source # 

Methods

pureResult :: ReaderT * (Build OpDef) (State ResultState) (a1, a2, a3, a4, a5, a6, a7, a8) Source #

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 #

Minimal complete definition

buildInputs

Methods

buildInputs :: a -> Build [Output] Source #

Instances

type OpParams = OpDef -> OpDef Source #

Parameters to build an op (for example, the node name or optional attributes). TODO: be more type safe.