Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
test compile
Browse files Browse the repository at this point in the history
  • Loading branch information
Li, Hao H committed Apr 19, 2019
1 parent feac9b4 commit 8914f78
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/operator/rnn.cc
Original file line number Diff line number Diff line change
Expand Up @@ -258,9 +258,11 @@ The definition of GRU here is slightly different from paper but compatible with
.set_attr<FInferStorageType>("FInferStorageType", RNNStorageType)
.set_attr<FCreateOpState>("FCreateOpState", CreateRNNState)
.set_attr<FStatefulCompute>("FStatefulCompute<cpu>", RNNStatefulCompute<cpu>)
/*
#if MXNET_USE_MKLDNN == 1
.set_attr<FStatefulComputeEx>("FStatefulComputeEx<cpu>", RNNStatefulComputeCPU)
#endif
*/
.set_attr<nnvm::FGradient>("FGradient", RNNGrad{"_backward_RNN"})
.set_attr<FResourceRequestEx>("FResourceRequestEx",
[](const NodeAttrs& attrs, const int dev_mask, const DispatchMode dispatch_mode) {
Expand Down

0 comments on commit 8914f78

Please sign in to comment.