You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.
We should provide an API that offers the same functionality as https://www.tensorflow.org/api_docs/python/tf/random/categorical in the numpy interface.
In fact, we have this functionality in the legacy
mx.nd
namespace, i.e.,mx.nd.sample_multinomial
: See https://github.com/apache/incubator-mxnet/blob/eceb5f2c1c494094c1a697286f2c4560b7ca472e/src/operator/random/sample_multinomial_op.cc#L33One straightforward extension is to register this op as
mx.npx.random.categorical
.@yzhliu
The text was updated successfully, but these errors were encountered: