提交 ab3f5787 编写于 作者: P pangyoki

fix C++ notype error

上级 6a351708
...@@ -31,7 +31,7 @@ void MultinomialFunctor(T* out_data, const T* in_data, ...@@ -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_samples, const bool replacement,
const int64_t num_categories, const int64_t num_categories,
const int64_t num_distributions) { const int64_t num_distributions) {
C = num_categories; int64_t C = num_categories;
T cumulative_probs[C]; T cumulative_probs[C];
std::uniform_real_distribution<T> dist(0, 1); 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.
先完成此消息的编辑!
想要评论请 注册