grain ~master (2021-05-15T05:53:16Z)
Dub
Repo
LSTM
ptb
Undocumented in source.
struct
LSTM (
T
alias
Storage
) {
int
inSize
;
int
outSize
;
enum
gates
;
this
(int inSize, int outSize);
auto
opCall
(Variable!(T, 2, Storage) x, Variable!(T, 2, Storage) h, Variable!(T, 2, Storage) c);
auto
opCall
(Variable!(T, 2, Storage) x);
}
Constructors
this
this
(int inSize, int outSize)
Undocumented in source.
Members
Functions
opCall
auto
opCall
(Variable!(T, 2, Storage) x, Variable!(T, 2, Storage) h, Variable!(T, 2, Storage) c)
Undocumented in source. Be warned that the author may not have intended to support it.
opCall
auto
opCall
(Variable!(T, 2, Storage) x)
Undocumented in source. Be warned that the author may not have intended to support it.
Manifest constants
gates
enum
gates
;
Undocumented in source.
Variables
inSize
int
inSize
;
outSize
int
outSize
;
Undocumented in source.
Meta
Source
See Implementation
ptb
functions
main
test
uniform_
structs
LSTM
RNNLM