Home
last modified time | relevance | path

Searched refs:real_value (Results 1 – 9 of 9) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/int8/
Dquantize.c73 uint8_t QuantizeToUint8(float real_value, float scale, int32_t zp) { return round(real_value / scal… in QuantizeToUint8() argument
75 int32_t QuantizeToInt8(float real_value, float scale, int32_t zp) { return round(real_value / scale… in QuantizeToInt8() argument
Dquantize.h204 uint8_t QuantizeToUint8(float real_value, float scale, int32_t zp);
206 int32_t QuantizeToInt8(float real_value, float scale, int32_t zp);
/third_party/mindspore/mindspore/core/utils/
Dcheck_convert_utils.cc227 std::string real_value = std::dynamic_pointer_cast<StringImm>(*value)->value(); in ConvertAttrValueToInt() local
229 if (attr_map_pair.first.find(real_value) != attr_map_pair.first.end()) { in ConvertAttrValueToInt()
233 transform(real_value.begin(), real_value.end(), real_value.begin(), ::toupper); in ConvertAttrValueToInt()
234 if (attr_map_pair.first.find(real_value) != attr_map_pair.first.end()) { in ConvertAttrValueToInt()
239 transform(real_value.begin(), real_value.end(), real_value.begin(), ::tolower); in ConvertAttrValueToInt()
240 if (attr_map_pair.first.find(real_value) == attr_map_pair.first.end()) { in ConvertAttrValueToInt()
241 …MS_LOG(DEBUG) << "Can not convert " << op_type << " attr " << attr_name << ": " << real_value << "… in ConvertAttrValueToInt()
245 *value = MakeValue<int64_t>(attr_map_pair.first[real_value]); in ConvertAttrValueToInt()
264 int64_t real_value = std::dynamic_pointer_cast<Int64Imm>(*value)->value(); in ConvertAttrValueToString() local
265 if (attr_map_pair.second.find(real_value) == attr_map_pair.second.end()) { in ConvertAttrValueToString()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/MCTargetDesc/
DARMAsmBackend.cpp855 uint64_t real_value = Value - 4; in adjustFixupValue() local
858 real_value = -real_value; in adjustFixupValue()
859 out |= ((real_value >> 1) & 0x1) << 11; in adjustFixupValue()
860 out |= ((real_value >> 1) & 0x7fe); in adjustFixupValue()
/third_party/python/Lib/http/
Dcookies.py485 def __set(self, key, real_value, coded_value): argument
488 M.set(key, real_value, coded_value)
/third_party/python/Doc/library/
Dhttp.cookies.rst80 Return a tuple ``(real_value, coded_value)`` from a string representation.
81 ``real_value`` can be any type. This method does no decoding in
87 Return a tuple ``(real_value, coded_value)``. *val* can be any type, but
/third_party/jerryscript/docs/
D16.MIGRATION-GUIDE.md252 jerry_value_t real_value = jerry_get_value_without_error_flag (value);
255 jerry_release_value (real_value);
269 jerry_value_t real_value = jerry_get_value_from_error (error, true);
271 jerry_release_value (real_value);
/third_party/googletest/googlemock/test/
Dgmock-matchers_test.cc2243 float real_value = 1.0f; in TEST() local
2248 EXPECT_FALSE(m.Matches(real_value)); in TEST()
2253 EXPECT_FALSE(m_ref.Matches(real_value)); in TEST()
2258 EXPECT_FALSE(m_cref.Matches(real_value)); in TEST()
2265 double real_value = 1.0; in TEST() local
2270 EXPECT_FALSE(m.Matches(real_value)); in TEST()
2275 EXPECT_FALSE(m_ref.Matches(real_value)); in TEST()
2280 EXPECT_FALSE(m_cref.Matches(real_value)); in TEST()
2287 long double real_value = 1.0; in TEST() local
2292 EXPECT_FALSE(m.Matches(real_value)); in TEST()
[all …]
/third_party/libinput/test/
Dtest-touchpad.c3246 unsigned int real_value; in START_TEST() member
3264 b->real_value, in START_TEST()
3270 b->real_value, in START_TEST()