Torch.NN.Recurrent.Cell.GRU
data GRUSpec Source #
Constructors
Fields
Defined in Torch.NN.Recurrent.Cell.GRU
Methods
showsPrec :: Int -> GRUSpec -> ShowS #
show :: GRUSpec -> String #
showList :: [GRUSpec] -> ShowS #
(==) :: GRUSpec -> GRUSpec -> Bool #
(/=) :: GRUSpec -> GRUSpec -> Bool #
sample :: GRUSpec -> IO GRUCell Source #
data GRUCell Source #
Associated Types
from :: GRUCell -> Rep GRUCell x #
to :: Rep GRUCell x -> GRUCell #
showsPrec :: Int -> GRUCell -> ShowS #
show :: GRUCell -> String #
showList :: [GRUCell] -> ShowS #
flattenParameters :: GRUCell -> [Parameter] Source #
_replaceParameters :: GRUCell -> ParamStream GRUCell Source #
gruCellForward Source #
Arguments
cell parameters
input
hidden
output