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

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
stu1130 committed Jun 14, 2019
1 parent adad720 commit 873283f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/operator/numpy/random/np_multinomial_op.h
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ void NumpyMultinomialForward(const nnvm::NodeAttrs& attrs,
Kernel<set_zero, xpu>::Launch(s, outputs[0].Size(), outputs[0].dptr<int64_t>());

if (param.pvals.has_value()) {
// create a tensor to copy the param.pvals tuple to avoid
// create a tensor to copy the param.pvals tuple to avoid
// error: calling a __host__ function from a __host__ __device__ function is not allowed
Tensor<xpu, 1, double> pvals =
ctx.requested[1].get_space_typed<xpu, 1, double>(Shape1(prob_length), s);
Expand Down

0 comments on commit 873283f

Please sign in to comment.