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

Commit

Permalink
remove inplace check
Browse files Browse the repository at this point in the history
  • Loading branch information
antinucleon committed Jun 21, 2015
1 parent 9c214c8 commit 7a1296d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/operator/activation_op-inl.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ class ActivationOp : public Operator {
CHECK(in_data.size() == 1);
CHECK(out_grad.size() == 1);
CHECK(req.size() == 1);
CHECK(req[0] == kWriteInplace);
mshadow::Stream<xpu> *stream = \
static_cast<mshadow::Stream<xpu> *>(ctx.stream);
mshadow::Tensor<xpu, 2> grad = grad_next[0].FlatTo2D<xpu, real_t>(stream);
Expand Down

0 comments on commit 7a1296d

Please sign in to comment.