tensorflow-0.1.0.0: TensorFlow bindings.

Safe HaskellNone
LanguageHaskell2010

TensorFlow.ControlFlow

Contents

Synopsis

Dependencies

withControlDependencies :: (MonadBuild m, Nodes t) => t -> m a -> m a

Modify a Build action, such that all new ops rendered in it will depend on the nodes in the first argument.

group :: (MonadBuild m, Nodes t) => t -> m ControlNode

Create an op that groups multiple operations.

When this op finishes, all ops in the input n have finished. This op has no output.

Operations

noOp :: MonadBuild m => m ControlNode

Does nothing. Only useful as a placeholder for control edges.