tensorflow-opgen-0.3.0.0: Code generation for TensorFlow operations.
Safe HaskellNone
LanguageHaskell2010

TensorFlow.OpGen.ParsedOp

Description

This module helps parse the proto OpDef into a Haskell type which is more descriptive of how the attributes and arguments will be used in the generated code.

Synopsis

Documentation

data ParsedOp Source #

Constructors

ParsedOp 

Fields

data Name Source #

Constructors

Name 

newtype HaskellName Source #

A name that's appropriate for a variable in a Haskell source file.

Constructors

HaskellName 

Fields

newtype TFName Source #

A raw name as specified in the OpDef proto.

Constructors

TFName 

Fields

Instances

Instances details
Eq TFName Source # 
Instance details

Defined in TensorFlow.OpGen.ParsedOp

Methods

(==) :: TFName -> TFName -> Bool #

(/=) :: TFName -> TFName -> Bool #

Ord TFName Source # 
Instance details

Defined in TensorFlow.OpGen.ParsedOp

data Attr a Source #

A named attribute, associated with some information about it.

Constructors

Attr 

data AttrType Source #

The type of an attribute.

Instances

Instances details
Eq AttrType Source # 
Instance details

Defined in TensorFlow.OpGen.ParsedOp

data TypeParam Source #

Constructors

TypeParam 

Fields

data ParsedArg Source #

An input or output argument (Tensor) for an op.

data ParsedArgCase Source #

Constructors

SimpleArg 
ListArg 

Fields

MixedListArg

A heterogeneous list.

data ArgType Source #

The type of an argument.

Constructors

ArgTypeFixed DataType

A fixed type.

ArgTypeAttr Name

A type that depends on an attribute.

data ArgKind Source #

Instances

Instances details
Eq ArgKind Source # 
Instance details

Defined in TensorFlow.OpGen.ParsedOp

Methods

(==) :: ArgKind -> ArgKind -> Bool #

(/=) :: ArgKind -> ArgKind -> Bool #