hasktorch-0.2.0.0: Functional differentiable programming in Haskell
Safe HaskellSafe-Inferred
LanguageHaskell2010

Torch.Typed.NN.Recurrent.Auxiliary

Synopsis

Documentation

data RNNInitialization Source #

Instances

Instances details
Generic RNNInitialization Source # 
Instance details

Defined in Torch.Typed.NN.Recurrent.Auxiliary

Associated Types

type Rep RNNInitialization :: Type -> Type Source #

Show RNNInitialization Source # 
Instance details

Defined in Torch.Typed.NN.Recurrent.Auxiliary

type Rep RNNInitialization Source # 
Instance details

Defined in Torch.Typed.NN.Recurrent.Auxiliary

type Rep RNNInitialization = D1 ('MetaData "RNNInitialization" "Torch.Typed.NN.Recurrent.Auxiliary" "hasktorch-0.2.0.0-F6yFRaDiRF49lpq95SVuR8" 'False) (C1 ('MetaCons "ConstantInitialization" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LearnedInitialization" 'PrefixI 'False) (U1 :: Type -> Type))

calculateFan :: [Int] -> (Int, Int) Source #

Fan-in / Fan-out scaling calculation

xavierUniformFIXME :: Tensor -> Float -> [Int] -> IO Tensor Source #

Xavier Initialization - Uniform