Home
last modified time | relevance | path

Searched refs:src_val (Results 1 – 14 of 14) sorted by relevance

/external/tensorflow/tensorflow/lite/toco/graph_transformations/
Dquantization_util.cc142 const float src_val = float_buffer.data[i]; in QuantizeBuffer() local
146 CHECK_EQ(src_val, 0) << "The quantization scale for this array is 0, " in QuantizeBuffer()
150 scaled_val = quantization_params.zero_point + inverse_scale * src_val; in QuantizeBuffer()
Dshuffle_fc_weights.cc127 uint8 src_val = *src_data_ptr++; in Run() local
131 uint8 dst_val = src_val ^ 0x80; in Run()
/external/skia/src/ports/
DSkTypeface_mac_ct.cpp284 S src_val; member
298 if (val < fMapping[0].src_val) { in map()
304 if (val < fMapping[i+1].src_val) { in map()
305 return map(val, fMapping[i].src_val, fMapping[i+1].src_val, in map()
342 nativeWeightMappings[i].src_val = i * 100; in SkCTFontCTWeightForCSSWeight()
370 nativeWeightMappings[i].src_val = nsFontWeights[i]; in ct_weight_to_fontstyle()
373 dataProviderWeightMappings[i].src_val = userFontWeights[i]; in ct_weight_to_fontstyle()
/external/tensorflow/tensorflow/lite/kernels/internal/
Dquantization_util.cc364 const float src_val = input_data[i]; in FakeQuantizeArray() local
365 const float clamped = std::min(nudged_max, std::max(nudged_min, src_val)); in FakeQuantizeArray()
/external/tensorflow/tensorflow/lite/kernels/internal/reference/
Dfully_connected.h204 uint8_t src_val = *src_data_ptr++; in ShuffledFullyConnected() local
208 uint8_t dst_val = src_val ^ 0x80; in ShuffledFullyConnected()
/external/mesa3d/src/compiler/spirv/
Dvtn_variables.c2305 struct vtn_value *src_val = vtn_value(b, w[2], vtn_value_type_pointer); in vtn_handle_variables() local
2307 struct vtn_pointer *src = src_val->pointer; in vtn_handle_variables()
2310 src_val->type->deref); in vtn_handle_variables()
2337 struct vtn_value *src_val = vtn_value(b, w[2], vtn_value_type_pointer); in vtn_handle_variables() local
2340 struct vtn_pointer *src = src_val->pointer; in vtn_handle_variables()
2370 struct vtn_value *src_val = vtn_value(b, w[3], vtn_value_type_pointer); in vtn_handle_variables() local
2371 struct vtn_pointer *src = src_val->pointer; in vtn_handle_variables()
2373 vtn_assert_types_equal(b, opcode, res_type, src_val->type->deref); in vtn_handle_variables()
2390 struct vtn_value *src_val = vtn_untyped_value(b, w[2]); in vtn_handle_variables() local
2397 glsl_get_base_type(src_val->type->type) == GLSL_TYPE_UINT) { in vtn_handle_variables()
[all …]
Dspirv_to_nir.c2110 struct vtn_value *src_val = in vtn_handle_constant() local
2117 bit_size = glsl_get_bit_size(src_val->type->type); in vtn_handle_constant()
2125 src[j][c] = src_val->constant->values[c]; in vtn_handle_constant()
/external/gemmlowp/internal/
Dpack.h279 const std::uint8_t src_val = src_cell_map(w, d); in Pack() local
281 src_val - kZeroPointInputValue; in Pack()
/external/mesa3d/src/intel/common/
Dgen_mi_builder.h543 struct gen_mi_value src_val = gen_mi_mem32(__gen_address_offset(src, i)); in gen_mi_memcpy() local
545 gen_mi_store(b, dst_val, src_val); in gen_mi_memcpy()
551 gen_mi_store(b, tmp_reg, src_val); in gen_mi_memcpy()
/external/skqp/src/ports/
DSkFontHost_mac.cpp491 S src_val; member
505 if (val < fMapping[0].src_val) { in map()
511 if (val < fMapping[i+1].src_val) { in map()
512 return map(val, fMapping[i].src_val, fMapping[i+1].src_val, in map()
599 nativeWeightMappings[i].src_val = i * 100; in __anondc50e1580602()
646 nativeWeightMappings[i].src_val = nsFontWeights[i]; in ct_weight_to_fontstyle()
/external/vixl/src/aarch64/
Dlogic-aarch64.cc1498 int64_t src_val = src.Int(vform, i); in sminmaxv() local
1500 dst_val = (src_val > dst_val) ? src_val : dst_val; in sminmaxv()
1502 dst_val = (src_val < dst_val) ? src_val : dst_val; in sminmaxv()
1637 uint64_t src_val = src.Uint(vform, i); in uminmaxv() local
1639 dst_val = (src_val > dst_val) ? src_val : dst_val; in uminmaxv()
1641 dst_val = (src_val < dst_val) ? src_val : dst_val; in uminmaxv()
2086 int64_t src_val = src1.Int(vform, i); in sshl() local
2087 bool src_is_negative = src_val < 0; in sshl()
2096 uint64_t usrc_val = static_cast<uint64_t>(src_val); in sshl()
2138 uint64_t src_val = src1.Uint(vform, i); in ushl() local
[all …]
/external/libgav1/libgav1/src/dsp/arm/
Dconvolve_neon.cc815 const uint8x16_t src_val = vld1q_u8(src_x); in LoadSrcVals() local
816 ret.val[0] = vget_low_u8(src_val); in LoadSrcVals()
817 ret.val[1] = vget_high_u8(src_val); in LoadSrcVals()
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/
Dlegacy_optimized_ops.h2291 uint8 src_val = *src_data_ptr++; in ShuffledFullyConnected() local
2295 uint8 dst_val = src_val ^ 0x80; in ShuffledFullyConnected()
Doptimized_ops.h888 uint8 src_val = *src_data_ptr++; in ShuffledFullyConnected() local
892 uint8 dst_val = src_val ^ 0x80; in ShuffledFullyConnected()