Home
last modified time | relevance | path

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

/third_party/mindspore/mindspore/lite/src/common/
Dquant_utils.cc45 STATUS CalQuantizationParams(schema::QuantParamT *quant_param, double real_min, double real_max, bo… in CalQuantizationParams() argument
52 if (real_max < 0.0f) { in CalQuantizationParams()
53 …MS_LOG(DEBUG) << "real_max " << real_max << " is smaller than 0, set to 0, this may course low pre… in CalQuantizationParams()
54 real_max = 0.0f; in CalQuantizationParams()
56 if (real_min > real_max) { in CalQuantizationParams()
57 MS_LOG(ERROR) << "cal error while min" << real_min << ">" << real_max; in CalQuantizationParams()
60 if (real_min == real_max) { in CalQuantizationParams()
68 quant_param->max = real_max; in CalQuantizationParams()
82 double scale = (real_max - real_min) / (quantMaxFloat - quantMinFloat); in CalQuantizationParams()
96 quant_param->max = real_max; in CalQuantizationParams()
Dquant_utils.h61 STATUS CalQuantizationParams(schema::QuantParamT *quant_param, double real_min, double real_max, bo…
/third_party/openssl/ssl/statem/
Dstatem_lib.c1900 int ret, ver_min, ver_max, real_max, origv; in ssl_choose_client_version() local
1947 ret = ssl_get_min_max_version(s, &ver_min, &ver_max, &real_max); in ssl_choose_client_version()
1969 real_max = ver_max; in ssl_choose_client_version()
1972 if (s->version == TLS1_2_VERSION && real_max > s->version) { in ssl_choose_client_version()
1985 && real_max > s->version) { in ssl_choose_client_version()
2035 int *real_max) in ssl_get_min_max_version() argument
2058 if (!ossl_assert(real_max == NULL)) in ssl_get_min_max_version()
2092 if (real_max != NULL) in ssl_get_min_max_version()
2093 *real_max = 0; in ssl_get_min_max_version()
2116 if (real_max != NULL && tmp_real_max != 0) in ssl_get_min_max_version()
[all …]
/third_party/openssl/ssl/
Dssl_local.h2402 int *max_version, int *real_max);