Safe Haskell | None |
---|---|
Language | Haskell2010 |
Helper and Utility Functions
Synopsis
- data PDK
- data Device
- fst3 :: (a, b, c) -> a
- uncurry' :: (a -> b -> c -> d) -> (a, b, c) -> d
- singleton :: a -> [a]
- boolMask :: [String] -> [String] -> [Bool]
- boolMask' :: [String] -> [String] -> Tensor
- intIdx :: [String] -> [String] -> [Int]
- intIdx' :: [String] -> [String] -> Tensor
- round :: Int -> Tensor -> Tensor
- shuffleBatches :: Int -> Tensor -> Tensor -> IO ([Tensor], [Tensor])
- scale :: Tensor -> Tensor -> Tensor -> Tensor
- scale' :: Tensor -> Tensor -> Tensor -> Tensor
- trafo :: Tensor -> Tensor -> Tensor
- trafo' :: Tensor -> Tensor -> Tensor
- process :: Tensor -> Tensor
- columnHeader :: [String]
- loadTensor :: FilePath -> IO Tensor
- saveTensor :: Tensor -> FilePath -> IO ()
- currentTimeStamp :: String -> IO String
- currentTimeStamp' :: IO String
- createModelDir :: String -> String -> IO String
- createModelDir' :: String -> String -> IO String
- data Args = Args {}
- trainStyle :: Int -> Style s
- validStyle :: Int -> Style s
Documentation
Available PDKs
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 |
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] -> Tensor Source #
Create Integer Index Tensor for a subset of column names
shuffleBatches :: Int -> Tensor -> Tensor -> IO ([Tensor], [Tensor]) Source #
(Re-) Shuffle batches
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' :: 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
Command Line Arguments
trainStyle :: Int -> Style s Source #
Progress Bar Style for Training
validStyle :: Int -> Style s Source #
Progress Bar Style for Validation