Home
last modified time | relevance | path

Searched refs:accuracies_ (Results 1 – 4 of 4) sorted by relevance

/third_party/mindspore/mindspore/lite/src/train/
Dclassification_train_accuracy_monitor.cc35 if (cb_data.epoch_ == 0) accuracies_.clear(); in Begin()
39 if (accuracies_.size() != cb_data.epoch_) { in EpochBegin()
42 accuracies_.push_back(std::make_pair(cb_data.epoch_, 0.0)); in EpochBegin()
47 …if (cb_data.step_ > 0) accuracies_.at(cb_data.epoch_).second /= static_cast<float>(cb_data.step_ +… in EpochEnd()
50 << accuracies_.at(cb_data.epoch_).second << std::endl; in EpochEnd()
75 accuracies_.at(cb_data.epoch_).second += accuracy; in StepEnd()
Daccuracy_monitor.cc33 if (cb_data.epoch_ == 0) accuracies_.clear(); in Begin()
39 accuracies_.push_back(std::make_pair(cb_data.epoch_, 0.0)); in EpochEnd()
/third_party/mindspore/mindspore/lite/include/train/
Daccuracy_monitor.h36 const std::vector<GraphPoint> &GetAccuracyPoints() const { return accuracies_; } in GetAccuracyPoints()
40 std::vector<GraphPoint> accuracies_; variable
Dclassification_train_accuracy_monitor.h44 const std::vector<GraphPoint> &GetAccuracyPoints() const { return accuracies_; } in GetAccuracyPoints()
47 std::vector<GraphPoint> accuracies_;