Safe Haskell | None |
---|---|
Language | Haskell2010 |
This module describes the expression structure of a INetwork instance. -- The INetwork can be structured into a Data structure called CNetwork, with which later -- to compilation external languages can be done.
Synopsis
- data DLayer
- = DConv2D
- | DDense
- | DDropout
- | DFlatten
- | DLSTM
- | DMaxPooling
- | DRelu
- | DActivation
- data CNetwork
- data JavaScript = JavaScript
- data Python = Python
- class Generator l
- generate :: Generator l => l -> CNetwork -> Text
- generateFile :: Generator l => l -> CNetwork -> Text
Documentation
Auxiliary data representation of Layers
IMPORTANT: If you add new Layers definitions to Layers
, you should add
the corresponding data structure here for the same layer.
Defines the
data JavaScript Source #
Support for JavaScript compilation
Instances
Show JavaScript Source # | |
Defined in TensorSafe.Compile.Expr showsPrec :: Int -> JavaScript -> ShowS # show :: JavaScript -> String # showList :: [JavaScript] -> ShowS # | |
Generator JavaScript Source # | |
Defined in TensorSafe.Compile.Expr generate :: JavaScript -> CNetwork -> Text Source # generateFile :: JavaScript -> CNetwork -> Text Source # |
Class that defines which languages are supported for CNetworks generation to text
Instances
Generator Python Source # | |
Generator JavaScript Source # | |
Defined in TensorSafe.Compile.Expr generate :: JavaScript -> CNetwork -> Text Source # generateFile :: JavaScript -> CNetwork -> Text Source # |