Home
last modified time | relevance | path

Searched refs:QuantizerType (Results 1 – 15 of 15) sorted by relevance

/external/tensorflow/tensorflow/lite/tools/optimize/
Dquantize_weights.h35 enum class QuantizerType { OLD_QUANTIZER, MLIR_QUANTIZER }; enum
66 QuantizerType quantizer_type = QuantizerType::OLD_QUANTIZER);
73 QuantizerType quantizer_type = QuantizerType::OLD_QUANTIZER);
79 QuantizerType quantizer_type = QuantizerType::OLD_QUANTIZER);
89 QuantizerType quantizer_type = QuantizerType::OLD_QUANTIZER);
100 QuantizerType quantizer_type = QuantizerType::OLD_QUANTIZER);
Dquantize_weights_portable.cc591 QuantizerType quantizer_type) { in QuantizeWeights()
592 if (quantizer_type == QuantizerType::MLIR_QUANTIZER) { in QuantizeWeights()
608 QuantizerType quantizer_type) { in QuantizeWeights()
609 if (quantizer_type == QuantizerType::MLIR_QUANTIZER) { in QuantizeWeights()
622 QuantizerType quantizer_type) { in QuantizeWeights()
623 if (quantizer_type == QuantizerType::MLIR_QUANTIZER) { in QuantizeWeights()
645 QuantizerType quantizer_type) { in QuantizeWeights()
646 if (quantizer_type == QuantizerType::MLIR_QUANTIZER) { in QuantizeWeights()
661 QuantizerType quantizer_type) { in QuantizeWeights()
662 if (quantizer_type == QuantizerType::MLIR_QUANTIZER) { in QuantizeWeights()
Dquantize_weights_test.cc138 QuantizeWeights(&builder, model_, 0, QuantizerType::OLD_QUANTIZER); in TEST_F()
153 QuantizerType::OLD_QUANTIZER), in TEST_F()
184 QuantizeWeights(&builder, model_, 0, QuantizerType::OLD_QUANTIZER); in TEST_F()
241 QuantizerType::OLD_QUANTIZER); in TEST_F()
301 kUseUpdatedHybridSchemeDefault, QuantizerType::OLD_QUANTIZER); in TEST_F()
360 QuantizeWeights(&builder, model_, 0, QuantizerType::OLD_QUANTIZER); in TEST_F()
395 QuantizerType::OLD_QUANTIZER); in TEST_F()
437 QuantizeWeights(&builder, model_, 0, QuantizerType::OLD_QUANTIZER); in TEST_F()
476 QuantizerType::OLD_QUANTIZER); in TEST_F()
524 QuantizerType::OLD_QUANTIZER); in TEST_F()
[all …]
Dquantize_weights.cc605 QuantizerType quantizer_type) { in QuantizeWeights()
608 if (quantizer_type == QuantizerType::MLIR_QUANTIZER) { in QuantizeWeights()
622 QuantizerType quantizer_type) { in QuantizeWeights()
623 if (quantizer_type == QuantizerType::MLIR_QUANTIZER) { in QuantizeWeights()
636 QuantizerType quantizer_type) { in QuantizeWeights()
639 if (quantizer_type == QuantizerType::MLIR_QUANTIZER) { in QuantizeWeights()
660 QuantizerType quantizer_type) { in QuantizeWeights()
661 if (quantizer_type == QuantizerType::MLIR_QUANTIZER) { in QuantizeWeights()
678 QuantizerType quantizer_type) { in QuantizeWeights()
679 if (quantizer_type == QuantizerType::MLIR_QUANTIZER) { in QuantizeWeights()
/external/pytorch/torch/csrc/jit/frontend/
Dschema_type_parser.cpp29 using c10::QuantizerType;
53 {"Quantizer", c10::TypeFactory::get<QuantizerType>()}, in parseBaseType()
Dfunction_schema_parser.cpp338 case TypeKind::QuantizerType: { in parseDefaultValue()
/external/pytorch/aten/src/ATen/core/
Djit_type.h1556 struct QuantizerType;
1557 using QuantizerTypePtr = SingletonTypePtr<QuantizerType>;
1559 struct TORCH_API QuantizerType : public Type { struct
1566 static const TypeKind Kind = TypeKind::QuantizerType; argument
1571 QuantizerType() : Type(TypeKind::QuantizerType) {} in QuantizerType() argument
Djit_type_base.h40 _(QuantizerType) \
101 TORCH_DECLARE_SINGLETON(QuantizerType);
Ddynamic_type.cpp301 return QuantizerType::get(); in fallback()
Dtype.cpp207 QuantizerTypePtr QuantizerType::get() { in get()
208 static QuantizerTypePtr value(new QuantizerType()); in get()
Divalue.cpp141 return QuantizerType::get(); in get()
/external/tensorflow/tensorflow/compiler/mlir/lite/
Dtf_to_tfl_flatbuffer.cc178 ::tflite::optimize::QuantizerType::OLD_QUANTIZER) != kTfLiteOk) { in ApplyDynamicRangeQuantizationFromOldQuantizer()
/external/tensorflow/tensorflow/lite/toco/tflite/
Dexport.cc678 ::tflite::optimize::QuantizerType::OLD_QUANTIZER) != kTfLiteOk) { in Export()
/external/pytorch/torch/csrc/jit/python/
Dpybind_utils.cpp551 case TypeKind::QuantizerType: in toIValue()
/external/pytorch/torch/csrc/jit/serialization/
Dunpickler.cpp70 case QuantizerType::Kind: in restoreAccurateTypeTags()