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

Commit

Permalink
Working GPU normalize transforms
Browse files Browse the repository at this point in the history
  • Loading branch information
sandeep-krishnamurthy committed Jan 8, 2019
1 parent 853caa3 commit 0b5dd72
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/operator/image/normalize_op.cu
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ namespace op {
namespace image {

NNVM_REGISTER_OP(_image_normalize)
.set_attr<FCompute>("FCompute", NormalizeOpForward<gpu>)
.set_attr<nnvm::FGradient>("FGradient", ElemwiseGradUseNone{ "_copy" });
.set_attr<FCompute>("FCompute<gpu>", NormalizeOpForward<gpu>);

} // namespace image
} // namespace op
Expand Down

0 comments on commit 0b5dd72

Please sign in to comment.