Searched refs:num_classes_ (Results 1 - 2 of 2) sorted by relevance

/frameworks/ml/bordeaux/learning/multiclass_pa/native/
H A Dmulticlass_pa.h95 return num_classes_;
107 int num_classes_; member in class:learningfw::MulticlassPA
H A Dmulticlass_pa.cpp36 : num_classes_(num_classes),
46 parameters_.resize(num_classes_);
47 for (int i = 0; i < num_classes_; ++i) {
58 picked = static_cast<int>(RandFloat() * num_classes_);
59 // picked = static_cast<int>(random_.RandFloat() * num_classes_);
108 //CHECK_LT(target, num_classes_);
141 // CHECK_LT(target, num_classes_);
200 for (int i = 0; i < num_classes_; ++i) {
214 for (int i = 0; i < num_classes_; ++i) {

Completed in 125 milliseconds