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

Commit

Permalink
change sth
Browse files Browse the repository at this point in the history
  • Loading branch information
Yiyan66 committed Jan 13, 2020
1 parent a1f0485 commit 2af9ca9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/operator/numpy/random/np_exponential_op.h
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ void NumpyExponentialForward(const nnvm::NodeAttrs &attrs,
int ndim = FillShape(inputs[0].shape_, inputs[0].shape_, outputs[0].shape_,
&new_lshape, &new_lshape, &new_oshape);
MSHADOW_TYPE_SWITCH(inputs[0].type_flag_, IType, {
MSHADOW_TYPE_SWITCH_WITH_BOOL(outputs[0].type_flag_, OType, {
MSHADOW_REAL_TYPE_SWITCH(outputs[0].type_flag_, OType, {
BROADCAST_NDIM_SWITCH(ndim, NDim, {
Shape<NDim> oshape = new_oshape.get<NDim>();
Shape<NDim> stride = calc_stride(new_lshape.get<NDim>());
Expand Down

0 comments on commit 2af9ca9

Please sign in to comment.