Skip to content
Open
Show file tree
Hide file tree
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
adding FastGRNN C reference implementation and test case for low rank…
… model
  • Loading branch information
harsha-simhadri committed Apr 19, 2020
commit d5f05e6e259be92b63290cbee8cdb65a1086572c
2 changes: 1 addition & 1 deletion c_reference/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ clean:
rm -f *.o *.gch

cleanest: clean
rm *~
rm *~
2 changes: 1 addition & 1 deletion c_reference/include/classifier.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ void FC(const float *const FCweights, const float *const FCbias,
v_add(1.0f, FCbias, 1.0f, classScores, numClasses, classScores);
}

#endif
#endif
2 changes: 1 addition & 1 deletion c_reference/include/fastgrnn.h
Original file line number Diff line number Diff line change
Expand Up @@ -127,4 +127,4 @@ int FastGRNN(const float* const W, const float* const U,
return 0;
}

#endif
#endif
2 changes: 1 addition & 1 deletion c_reference/include/utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -124,4 +124,4 @@ void softmax(const float* const input, const unsigned len, float* const ret) {
ret[i] = expf(input[i] - offset);
}

#endif
#endif
2 changes: 1 addition & 1 deletion c_reference/tests/test_fastgrnn_lr.c
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,4 @@ int main() {
n, predicted_class, labels[n]);
// printVec(classScores, numClasses);
}
}
}