| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
TensorFlow.Output
Contents
Synopsis
- newtype ControlNode = ControlNode {}
- newtype Device = Device {
- deviceName :: Text
- newtype NodeName = NodeName {
- unNodeName :: Text
- data OpDef = OpDef {}
- opName :: Lens' OpDef PendingNodeName
- opType :: Lens' OpDef OpType
- opAttr :: Attribute a => Text -> Lens' OpDef a
- opInputs :: Lens' OpDef [Output]
- opControlInputs :: Lens' OpDef [NodeName]
- newtype OpType = OpType {}
- newtype OutputIx = OutputIx {
- unOutputIx :: Int
- data Output = Output {}
- output :: OutputIx -> NodeName -> Output
- data PendingNodeName
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 | |
Instances
| Nodes ControlNode Source # | |
Defined in TensorFlow.Nodes | |
| BuildResult ControlNode Source # | |
Defined in TensorFlow.BuildOp Methods buildResult :: Result ControlNode Source # | |
| a ~ () => Fetchable ControlNode a Source # | |
Defined in TensorFlow.Nodes | |
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
| |
Ops
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
| |
Op definition. This corresponds somewhat to the NodeDef proto.
Constructors
| OpDef | |
opName :: Lens' OpDef PendingNodeName Source #
opControlInputs :: Lens' OpDef [NodeName] Source #
The type of op of a node in the graph. This corresponds to the proto field NodeDef.op.
Constructors
| OutputIx | |
Fields
| |
Instances
| Enum OutputIx Source # | |
Defined in TensorFlow.Output | |
| Eq OutputIx Source # | |
| Num OutputIx Source # | |
| Ord OutputIx Source # | |
Defined in TensorFlow.Output | |
| Show OutputIx Source # | |
An output of a TensorFlow node.
Constructors
| Output | |
Fields
| |
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.
Constructors
| ExplicitName !Text | |
| ImplicitName |
Instances
| Eq PendingNodeName Source # | |
Defined in TensorFlow.Output Methods (==) :: PendingNodeName -> PendingNodeName -> Bool # (/=) :: PendingNodeName -> PendingNodeName -> Bool # | |
| Ord PendingNodeName Source # | |
Defined in TensorFlow.Output Methods compare :: PendingNodeName -> PendingNodeName -> Ordering # (<) :: PendingNodeName -> PendingNodeName -> Bool # (<=) :: PendingNodeName -> PendingNodeName -> Bool # (>) :: PendingNodeName -> PendingNodeName -> Bool # (>=) :: PendingNodeName -> PendingNodeName -> Bool # max :: PendingNodeName -> PendingNodeName -> PendingNodeName # min :: PendingNodeName -> PendingNodeName -> PendingNodeName # | |
| Show PendingNodeName Source # | |
Defined in TensorFlow.Output Methods showsPrec :: Int -> PendingNodeName -> ShowS # show :: PendingNodeName -> String # showList :: [PendingNodeName] -> ShowS # | |
| IsString PendingNodeName Source # | |
Defined in TensorFlow.Output Methods fromString :: String -> PendingNodeName # | |