tensorflow-0.1.0.0: TensorFlow bindings.

Safe HaskellNone
LanguageHaskell2010

TensorFlow.Output

Contents

Synopsis

Documentation

newtype ControlNode

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

Constructors

ControlNode 

newtype Device

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

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 OpDef

Op definition. This corresponds somewhat to the NodeDef proto.

Instances

opAttr :: Attribute a => Text -> Lens' OpDef a

opInputs :: Lens' OpDef [Output]

newtype OpType

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

Constructors

OpType 

Fields

unOpType :: Text
 

newtype OutputIx

Constructors

OutputIx 

Fields

unOutputIx :: Int
 

data Output

An output of a TensorFlow node.

Constructors

Output 

data PendingNodeName

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.

Constructors

ExplicitName !Text 
ImplicitName 

newtype ResourceHandle

Opaque handle to a mutable resource in the graph. Typical such resources are variables.

Constructors

ResourceHandle Output