Searched refs:rnndec (Results 1 – 2 of 2) sorted by relevance
57 struct rnndec { struct65 static inline struct rnndec *to_rnndec(struct rnn *rnn) in to_rnndec() argument67 return (struct rnndec *)rnn; in to_rnndec()72 struct rnndec *rnndec = to_rnndec(rnn); in rnn_val() local74 if (!rnndec->sizedwords) { in rnn_val()76 } else if (regbase < rnndec->sizedwords) { in rnn_val()77 return rnndec->dwords[regbase]; in rnn_val()453 struct rnndec *rnndec = lua_newuserdata(L, sizeof(*rnndec)); in l_rnn_init() local454 _rnn_init(&rnndec->base, 0); in l_rnn_init()455 rnn_load(&rnndec->base, gpuname); in l_rnn_init()[all …]
28 'rnndec.c',29 'rnndec.h',