anirudhacharya opened a new issue #11811: Duplication of Operators for sampling 
from random distributions
URL: https://github.com/apache/incubator-mxnet/issues/11811
 
 
   The operators defined in ``sample_op.cc`` and ``multisample_op.cc`` are 
seemingly performing the same tasks. Both these files define the following 
operators respectively
   ```
   sample_op.cc
   -----------
   random_uniform
   random_normal
   random_gamma
   random_exponential
   random_poisson
   random_negative_binomial
   random_generalized_negative_binomial
   ```
   ```
   multisample_op.cc
   ----------
   sample_uniform
   sample_normal
   sample_gamma
   sample_exponential
   sample_poisson
   sample_negative_binomial
   sample_generalized_negative_binomial
   ```
   
   The only difference that I can glean from the documentation is that 
operators in ``multisample_op.cc`` performs concurrent sampling from multiple 
distributions, but the behavior of the operators is not different.
   
   Is ``sample_op.cc`` being retained for legacy reasons or backward 
compatibility? Can it be deprecated or EOLed? Correct me if I am wrong here.
   
   @szha @zheng-da 

----------------------------------------------------------------
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

Reply via email to