tensorflow-opgen-0.1.0.0: Code generation for TensorFlow operations.

Safe HaskellNone
LanguageHaskell2010

TensorFlow.OpGen.AttrVal

Description

Wrapping of TensorFlow attributes into Haskell entities.

Synopsis

Documentation

data AttrDef

data AttrTemplate

Type-reified representation of TensorFlow AttrDef. Initially limited to just the types in Op descriptors.

Constructors

AttrSingle (AttrCase Template) 
AttrList (AttrCase []) 
AttrTensor UnusedTensor 

data Template a

Specifies the optional default value and a set of allowed values for the given type.

templateDefault :: Lens' (Template a) (Maybe a)