提交 64f56bec 编写于 作者: P pangyoki

fix windows ci array len error

上级 14966166
......@@ -31,7 +31,7 @@ void MultinomialFunctor(T* out_data, const T* in_data,
const int64_t num_samples, const bool replacement,
const int64_t num_categories,
const int64_t num_distributions) {
int64_t C = num_categories;
int64_t C = num_categories + 1;
T cumulative_probs[C];
std::uniform_real_distribution<T> dist(0, 1);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册