Home
last modified time | relevance | path

Searched refs:weight_quantization (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/compiler/mlir/lite/
Dtf_tfl_translate.cc64 static llvm::cl::opt<std::string> weight_quantization( variable
200 if (weight_quantization != "NONE") { in main()
201 quant_specs.weight_quantization = true; in main()
202 if (weight_quantization == "INT8") { in main()
204 } else if (weight_quantization == "FLOAT16") { in main()
207 llvm::errs() << "Unknown weight quantization " << weight_quantization; in main()
/external/tensorflow/tensorflow/compiler/mlir/lite/quantization/
Dquantization_config.h40 bool weight_quantization = false; member
98 return inference_type != tensorflow::DT_FLOAT && !weight_quantization; in RunPropagationAndRewriteQuantizationPasses()
102 bool RunWeightQuantization() const { return weight_quantization; } in RunWeightQuantization()
/external/tensorflow/tensorflow/compiler/mlir/lite/python/
Dtf_tfl_flatbuffer_helpers.cc253 quant_specs->weight_quantization = true; in PopulateQuantizationSpecs()