prehsept-0.6.6.6: PRECEPT, but in Haskell.
Safe HaskellNone
LanguageHaskell2010

Lib

Description

Helper and Utility Functions

Synopsis

Documentation

data PDK Source #

Available PDKs

Constructors

XH035

X-Fab XH035 350nm Process

XH018

X-Fab XH018 180nm Process

XT018

X-Fab XT018 180nm Process

GPDK180

Fictional Cadence GPDK180 GPDK 180nm Process

GPDK090

Fictional Cadence GPDK090 GPDK 90nm Process

GPDK045

Fictional Cadence GPDK045 GPDK 45nm Process

SKY130

SkyWater SKY130 130nm Process

PTM130

Fictional Predictive Technology Models PTM130 130nm Process

Instances

Instances details
Eq PDK Source # 
Instance details

Defined in Lib

Methods

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

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

Read PDK Source # 
Instance details

Defined in Lib

Show PDK Source # 
Instance details

Defined in Lib

Methods

showsPrec :: Int -> PDK -> ShowS #

show :: PDK -> String #

showList :: [PDK] -> ShowS #

data Device Source #

Device Types

Constructors

NMOS

NMOS

PMOS

PMOS

Instances

Instances details
Eq Device Source # 
Instance details

Defined in Lib

Methods

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

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

Read Device Source # 
Instance details

Defined in Lib

Show Device Source # 
Instance details

Defined in Lib

fst3 :: (a, b, c) -> a Source #

First of Triple

uncurry' :: (a -> b -> c -> d) -> (a, b, c) -> d Source #

Uncurry triple

singleton :: a -> [a] Source #

Create single element list from given element

boolMask :: [String] -> [String] -> [Bool] Source #

Create a boolean mask from a subset of column names

boolMask' :: [String] -> [String] -> Tensor Source #

Create a boolean mask Tensor from a subset of column names

intIdx :: [String] -> [String] -> [Int] Source #

Create Integer Index for a subset of column names

intIdx' :: [String] -> [String] -> Tensor Source #

Create Integer Index Tensor for a subset of column names

round :: Int -> Tensor -> Tensor Source #

Round Float Tensor to n digits

shuffleBatches :: Int -> Tensor -> Tensor -> IO ([Tensor], [Tensor]) Source #

(Re-) Shuffle batches

scale :: Tensor -> Tensor -> Tensor -> Tensor Source #

Scale data to [0;1]

scale' :: Tensor -> Tensor -> Tensor -> Tensor Source #

Un-Scale data from [0;1]

trafo :: Tensor -> Tensor -> Tensor Source #

Apply log10 to masked data

trafo' :: Tensor -> Tensor -> Tensor Source #

Apply pow10 to masked data

process :: Tensor -> Tensor Source #

calculate gm from gmId and Id, input is [gmId, Id, fug, Vds, Vbs]

columnHeader :: [String] Source #

Default Column Names for stored Tensors

loadTensor :: FilePath -> IO Tensor Source #

Load a Pickled Tensor from file

saveTensor :: Tensor -> FilePath -> IO () Source #

Pickle a Tensor and Save to file

currentTimeStamp :: String -> IO String Source #

Current Timestamp as formatted string

currentTimeStamp' :: IO String Source #

Current Timestamp with default formatting: "%Y%m%d-%H%M%S"

createModelDir :: String -> String -> IO String Source #

Create a model archive directory for the given pdk and device type

createModelDir' :: String -> String -> IO String Source #

Just for the notebooks, to create a directory above

data Args Source #

Command Line Arguments

Constructors

Args 

Fields

Instances

Instances details
Show Args Source # 
Instance details

Defined in Lib

Methods

showsPrec :: Int -> Args -> ShowS #

show :: Args -> String #

showList :: [Args] -> ShowS #

trainStyle :: Int -> Style s Source #

Progress Bar Style for Training

validStyle :: Int -> Style s Source #

Progress Bar Style for Validation