Home
last modified time | relevance | path

Searched refs:num_classes_ (Results 1 – 7 of 7) sorted by relevance

/external/tensorflow/tensorflow/lite/experimental/kernels/
Dctc_decoder.h44 : num_classes_(num_classes), in CTCDecoder()
61 int num_classes() { return num_classes_; } in num_classes()
64 int num_classes_;
Dctc_beam_search.h220 TFLITE_DCHECK_EQ(num_classes_, input.size()); in GetTopK()
225 for (int j = 0; j < num_classes_ - 1; ++j) { in GetTopK()
239 return std::max((*top_k_logits)[0], input(num_classes_ - 1)); in GetTopK()
251 const int max_classes = top_k ? label_selection_size_ : (num_classes_ - 1); in Step()
275 TFLITE_DCHECK_EQ(num_classes_, raw_input.size()); in Step()
/external/tensorflow/tensorflow/core/util/ctc/
Dctc_decoder.h44 : num_classes_(num_classes), in CTCDecoder()
61 int num_classes() { return num_classes_; } in num_classes()
64 int num_classes_;
Dctc_beam_search.h223 CHECK_EQ(num_classes_, input.size()); in GetTopK()
228 for (int j = 0; j < num_classes_ - 1; ++j) { in GetTopK()
242 return std::max((*top_k_logits)[0], input(num_classes_ - 1)); in GetTopK()
254 const int max_classes = top_k ? label_selection_size_ : (num_classes_ - 1); in Step()
278 CHECK_EQ(num_classes_, raw_input.size()); in Step()
/external/tensorflow/tensorflow/contrib/boosted_trees/kernels/
Dprediction_ops.cc111 num_classes_ = learner_config.num_classes(); in GradientTreesPredictionOp()
112 OP_REQUIRES(context, num_classes_ >= 2, in GradientTreesPredictionOp()
120 prediction_vector_size_ = reduce_dim ? num_classes_ - 1 : num_classes_; in GradientTreesPredictionOp()
333 int num_classes_; member in tensorflow::boosted_trees::GradientTreesPredictionOp
/external/tensorflow/tensorflow/contrib/tensor_forest/kernels/v4/
Dgrow_stats.h427 : n_(n), num_classes_(num_classes), smallest_weight_class_(-1) {} in FixedSizeClassStats()
449 int num_classes_; variable
Dgrow_stats.cc675 float w = (smallest_weight / 2.0) * n_ / static_cast<float>(num_classes_); in get_weight()
700 w = (smallest_weight / 2.0) * n_ / static_cast<float>(num_classes_); in set_sum_and_square()
701 *square += (num_classes_ - n_) * w * w; in set_sum_and_square()