Home
last modified time | relevance | path

Searched defs:QuantizationSpecs (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/compiler/mlir/lite/quantization/
Dquantization_config.h33 struct QuantizationSpecs { struct
35 std::string target_func = "main";
40 bool weight_quantization = false;
47 bool post_training_quantization = false;
53 tensorflow::DataType inference_type = tensorflow::DT_FLOAT;
60 tensorflow::DataType inference_input_type = tensorflow::DT_FLOAT;
66 std::vector<std::pair<double, double>> input_ranges;
70 std::pair<llvm::Optional<double>, llvm::Optional<double>> default_ranges;
74 std::string serialized_quant_stats = "";
79 bool RunPropagationAndRewriteQuantizationPasses() const { in RunPropagationAndRewriteQuantizationPasses()
[all …]
/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/
Dpasses.h30 class QuantizationSpecs; variable