Home
last modified time | relevance | path

Searched refs:quant_type (Results 1 – 17 of 17) sorted by relevance

/external/libtextclassifier/native/lang_id/common/
Dembedding-network.cc28 static_cast<int>(matrix.quant_type)) in CheckNoQuantization()
34 QuantizationType quant_type = matrix.quant_type; in GetMatrixRowSizeInBytes() local
35 switch (quant_type) { in GetMatrixRowSizeInBytes()
47 << static_cast<int>(quant_type); in GetMatrixRowSizeInBytes()
92 switch (weights.quant_type) { in SparseReluProductPlusBias()
143 << static_cast<int>(weights.quant_type); in SparseReluProductPlusBias()
197 switch (embedding_matrix.quant_type) { in ConcatEmbeddings()
237 << static_cast<int>(embedding_matrix.quant_type); in ConcatEmbeddings()
Dembedding-network-params.h87 QuantizationType quant_type = QuantizationType::NONE; member
106 matrix.quant_type = embeddings_quant_type(i); in GetEmbeddingMatrix()
122 matrix.quant_type = hidden_weights_quant_type(i); in GetHiddenLayerMatrix()
138 matrix.quant_type = QuantizationType::NONE; in GetHiddenLayerBias()
159 matrix.quant_type = softmax_weights_quant_type(0); in GetSoftmaxMatrix()
174 matrix.quant_type = QuantizationType::NONE; in GetSoftmaxBias()
/external/tensorflow/tensorflow/compiler/mlir/lite/quantization/
Dquantization_utils.h88 quant::QuantizedType quant_type; in matchAndRewrite() local
101 quant_type = quant::fakeQuantAttrsToType( in matchAndRewrite()
107 quant_type = in matchAndRewrite()
115 Type result_type = quant_type.castFromExpressedType(op.getType()); in matchAndRewrite()
Dquantization_driver.cc416 if (auto quant_type = final_type.dyn_cast_or_null<quant::QuantizedType>()) { in SetConstantResultParams() local
417 return SetResultParams(op, 0, quant_type); in SetConstantResultParams()
/external/libtextclassifier/native/lang_id/common/flatbuffers/
Dembedding-network-params-from-flatbuffer.cc56 << static_cast<int>(matrix.quant_type) in VerifyQuantizationScales()
85 switch (matrix.quant_type) { in VerifyMatrix()
115 << static_cast<int>(matrix.quant_type); in VerifyMatrix()
/external/tensorflow/tensorflow/lite/tools/optimize/
Dquantize_weights.h41 BufferType quant_type = BufferType::QUANTIZED_INT8);
Dquantize_weights.cc570 const Model* input_model, BufferType quant_type) { in QuantizeWeights() argument
571 switch (quant_type) { in QuantizeWeights()
/external/mesa3d/src/gallium/frontends/va/
Dpicture_mpeg4.c53 context->desc.mpeg4.quant_type = mpeg4->vol_fields.bits.quant_type; in vlVaHandlePictureParameterBufferMPEG4()
/external/mesa3d/src/gallium/drivers/nouveau/
Dnouveau_vp3_video_vp.c71 uint8_t quant_type; // bool, written to 528 member
295 pic_vp->quant_type = desc->quant_type; in nouveau_vp3_fill_picparm_mpeg4_vp()
/external/mesa3d/src/gallium/drivers/radeon/
Dradeon_uvd.h313 uint8_t quant_type; member
Dradeon_vcn_dec.h525 unsigned char quant_type; member
Dradeon_uvd.c947 result.quant_type = pic->quant_type; in get_mpeg4_msg()
Dradeon_vcn_dec.c802 result.quant_type = pic->quant_type; in get_mpeg4_msg()
/external/mesa3d/src/gallium/drivers/r600/
Dradeon_uvd.h313 uint8_t quant_type; member
Dradeon_uvd.c640 result.quant_type = pic->quant_type; in get_mpeg4_msg()
/external/mesa3d/src/gallium/frontends/vdpau/
Ddecode.c293 picture->quant_type = picture_info->quant_type; in vlVdpDecoderRenderMpeg4()
/external/mesa3d/src/gallium/include/pipe/
Dp_video_state.h244 uint8_t quant_type; member