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

Commit

Permalink
add log message and TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
apeforest committed Nov 6, 2019
1 parent ec1a437 commit 14a3791
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/operator/nn/dropout-inl.h
Original file line number Diff line number Diff line change
Expand Up @@ -402,6 +402,8 @@ class DropoutOp {
this->pkeep_);
return;
} else {
// TODO (lnyuan) : support axes param
LOG(FATAL) << "param axes is not yet supported in this PR";
RandGenerator<xpu, DType> *pgen = ctx.requested[0].get_parallel_random<xpu, DType>();
CHECK_NOTNULL(pgen);
// initialize the mask
Expand Down

0 comments on commit 14a3791

Please sign in to comment.