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

Torch.Typed.NN.Dropout

Documentation

data DropoutSpec where Source #

Constructors

DropoutSpec 

Fields

data Dropout where Source #

Constructors

Dropout 

Fields

Instances

Instances details
Generic Dropout Source # 
Instance details

Defined in Torch.Typed.NN.Dropout

Associated Types

type Rep Dropout :: Type -> Type Source #

Show Dropout Source # 
Instance details

Defined in Torch.Typed.NN.Dropout

Parameterized Dropout Source # 
Instance details

Defined in Torch.Typed.NN.Dropout

Associated Types

type Parameters Dropout :: [Type] Source #

Randomizable DropoutSpec Dropout Source # 
Instance details

Defined in Torch.Typed.NN.Dropout

HasForward Dropout (Tensor device dtype shape) (Tensor device dtype shape) Source # 
Instance details

Defined in Torch.Typed.NN.Dropout

Methods

forward :: Dropout -> Tensor device dtype shape -> Tensor device dtype shape Source #

forwardStoch :: Dropout -> Tensor device dtype shape -> IO (Tensor device dtype shape) Source #

type Rep Dropout Source # 
Instance details

Defined in Torch.Typed.NN.Dropout

type Rep Dropout = D1 ('MetaData "Dropout" "Torch.Typed.NN.Dropout" "hasktorch-0.2.0.0-F6yFRaDiRF49lpq95SVuR8" 'False) (C1 ('MetaCons "Dropout" 'PrefixI 'True) (S1 ('MetaSel ('Just "dropoutProb") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Double)))
type Parameters Dropout Source # 
Instance details

Defined in Torch.Typed.NN.Dropout

dropoutForward :: forall shape dtype device. Dropout -> Bool -> Tensor device dtype shape -> IO (Tensor device dtype shape) Source #