Searched refs:top_k (Results 1 – 3 of 3) sorted by relevance
248 const bool top_k = in Step() local251 const int max_classes = top_k ? label_selection_size_ : (num_classes_ - 1); in Step()254 if (top_k) { in Step()335 const int label = top_k ? top_k_indices[ind] : ind; in Step()336 const float logit = top_k ? top_k_logits[ind] : raw_input(ind); in Step()
68 top_k = predictions.argsort()[-num_top_predictions:][::-1]69 for node_id in top_k:
76 top_k = predictions.argsort()[-num_top_predictions:][::-1]77 for node_id in top_k:
Completed in 4 milliseconds