tensorflow-0.1.0.0: TensorFlow bindings.

Safe HaskellNone
LanguageHaskell2010

TensorFlow.Output

Contents

Synopsis

Documentation

newtype ControlNode Source

A type of graph node which has no outputs. These nodes are valuable for causing side effects when they are run.

Constructors

ControlNode 

Fields

unControlNode :: Op
 

newtype Device Source

A device that a node can be assigned to. There's a naming convention where the device names are constructed from job and replica names.

Constructors

Device 

Fields

deviceName :: Text
 

Ops

newtype NodeName Source

The name of a node in the graph. This corresponds to the proto field NodeDef.name. Includes the scope prefix (if any) and a unique identifier (if the node was implicitly named).

Constructors

NodeName 

Fields

unNodeName :: Text
 

data Op Source

The representation of a node in a TensorFlow graph.

Constructors

Rendered !NodeDef

Properties are fixed, including the device, name, and scope.

Unrendered !OpDef

Properties are not fixed, and may change depending on which context this op is rendered in.

opUnrendered :: Traversal' Op OpDef Source

Traverse on the Unrendered of an Op.

Same implementation as _Left.

data OpDef Source

Op definition. This corresponds somewhat to the NodeDef proto.

newtype OpType Source

The type of op of a node in the graph. This corresponds to the proto field NodeDef.op.

Constructors

OpType 

Fields

unOpType :: Text
 

data Output Source

An output of a TensorFlow node.

Constructors

Output !OutputIx !Op 

data PendingNodeName Source

The name specified for an unrendered Op. If an Op has an ImplicitName, it will be assigned based on the opType plus a unique identifier. Does not contain the "scope" prefix.

newtype ResourceHandle a Source

Opaque handle to a mutable resource in the graph. Typical such resources are variables. The type parameter corresponds to the dtype of the tensor held in the variable.

Constructors

ResourceHandle Output