ChaiBapchya commented on a change in pull request #12749: [MXNET-1029] Feature
request: randint operator
URL: https://github.com/apache/incubator-mxnet/pull/12749#discussion_r230868353
##########
File path: src/operator/random/sample_op.cc
##########
@@ -51,7 +52,6 @@ DMLC_REGISTER_PARAMETER(SampleGenNegBinomialLikeParam);
.set_num_outputs(1)
\
.set_attr_parser(ParamParser<ParamType>)
\
.set_attr<nnvm::FInferShape>("FInferShape", InitShape<ParamType>)
\
- .set_attr<nnvm::FInferType>("FInferType", SampleOpType<ParamType>)
\
Review comment:
Because rest of random functions need floats while randint needs int. So I
created a separate function for the same.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services