Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
changed fastgenn signature
  • Loading branch information
harsha-simhadri committed Apr 20, 2020
commit 29f1cad40a951d797325053c05434c7a5a3b76a5
8 changes: 4 additions & 4 deletions c_reference/include/fastgrnn.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ typedef struct FastGRNN_LR_Buffers {
* <code>ERR_TEMPLRU_NOT_INIT</code> if tempLRU not allocated
* <code>ERR_NORMFEAT_NOT_INIT</code> if normFeatures not allocated
*/
int fastgrnn_lr (float* const hiddenState, const unsigned hiddenDims,
const float* const input, const int inputDims, const unsigned steps,
int fastgrnn_lr (float* const hiddenState, unsigned hiddenDims,
const float* const input, unsigned inputDims, unsigned steps,
const FastGRNN_LR_Params* params, FastGRNN_LR_Buffers * buffers) {

if (buffers->preComp == 0) return ERR_PRECOMP_NOT_INIT;
Expand Down Expand Up @@ -152,8 +152,8 @@ typedef struct FastGRNN_Buffers {
* <code>ERR_PRECOMP_NOT_INIT</code> if preComp not allocated
* <code>ERR_NORMFEAT_NOT_INIT</code> if normFeatures not allocated
*/
int fatgrnn(float* const hiddenState, const unsigned hiddenDims,
const float* const input, const int inputDims, const unsigned steps,
int fastgrnn(float* const hiddenState, unsigned hiddenDims,
const float* const input, unsigned inputDims, unsigned steps,
const FastGRNN_Params* params, FastGRNN_Buffers* buffers) {

if (buffers->preComp == 0) return ERR_PRECOMP_NOT_INIT;
Expand Down