Home
last modified time | relevance | path

Searched refs:metric_name (Results 1 – 11 of 11) sorted by relevance

/third_party/mindspore/mindspore/nn/metrics/
Dconfusion_matrix.py193 metric_name="sensitivity", argument
198 self.confusion_matrix = _ConfusionMatrix(skip_channel=skip_channel, metric_name=metric_name,
202 self.metric_name = validator.check_value_type("metric_name", metric_name, [str])
270 return _compute_confusion_matrix_metric(self.metric_name, confusion_matrix)
293 def __init__(self, skip_channel=True, metric_name="hit_rate", calculation_method=False, argument
297 self.metric_name = metric_name
327 if isinstance(self.metric_name, str):
328 … confusion_matrix = _compute_confusion_matrix_metric(self.metric_name, confusion_matrix)
332 if not self.metric_name:
336 for metric_name in self.metric_name:
[all …]
/third_party/mindspore/tests/ut/python/metrics/
Dtest_confusion_matrix_metric.py24 metric = ConfusionMatrixMetric(skip_channel=True, metric_name="tpr", calculation_method=False)
40 metric = ConfusionMatrixMetric(skip_channel=True, metric_name="ppv", calculation_method=True)
50 metric = ConfusionMatrixMetric(skip_channel=True, metric_name="tnr", calculation_method=True)
69 metric = ConfusionMatrixMetric(skip_channel=True, metric_name=1, calculation_method=False)
80 … metric = ConfusionMatrixMetric(skip_channel=True, metric_name="wwwww", calculation_method=False)
90 metric = ConfusionMatrixMetric(skip_channel=True, metric_name="tnr", calculation_method=True)
/third_party/grpc/src/cpp/server/load_reporter/
Dload_data_store.h136 LoadRecordValue(std::string metric_name, uint64_t num_calls,
167 bool InsertCallMetric(const std::string& metric_name, in InsertCallMetric() argument
169 return call_metrics_.insert({metric_name, metric_value}).second; in InsertCallMetric()
Dload_reporter.cc323 const std::string& metric_name = p.first; in GenerateLoads() local
326 call_metric_data->set_metric_name(metric_name); in GenerateLoads()
482 const std::string& metric_name = tag_values[3]; in ProcessViewDataOtherCallMetrics() local
489 metric_name, static_cast<uint64_t>(num_calls), total_metric_value); in ProcessViewDataOtherCallMetrics()
Dload_data_store.cc135 LoadRecordValue::LoadRecordValue(std::string metric_name, uint64_t num_calls, in LoadRecordValue() argument
137 call_metrics_.emplace(std::move(metric_name), in LoadRecordValue()
/third_party/grpc/src/proto/grpc/lb/v1/
Dload_reporter.proto140 // Optional metrics reported for the call(s). Requires that metric_name is
168 string metric_name = 1; field
/third_party/grpc/test/cpp/end2end/
Dserver_load_reporting_end2end_test.cc167 ASSERT_EQ(load.metric_data().Get(0).metric_name(), kMetricName); in TEST_F()
/third_party/grpc/src/proto/grpc/testing/xds/v3/
Dload_report.proto110 string metric_name = 1; field
/third_party/grpc/src/core/ext/filters/client_channel/xds/
Dxds_api.cc1990 const std::string& metric_name = p.first; in LocalityStatsPopulate() local
1996 load_metric, upb_strview_make(metric_name.data(), metric_name.size())); in LocalityStatsPopulate()
/third_party/grpc/src/proto/grpc/testing/xds/
Dlrs_for_test.proto34 string metric_name = 1; field
/third_party/grpc/src/core/ext/xds/
Dxds_api.cc2360 const std::string& metric_name = p.first; in LocalityStatsPopulate() local
2366 load_metric, StdStringToUpbString(metric_name)); in LocalityStatsPopulate()