- Sort Score
- Result 10 results
- Languages All
Results 11 - 17 of 17 for quant_specs_ (0.21 sec)
-
tensorflow/compiler/mlir/lite/tf_tfl_translate.cc
mlir::quant::QuantizationSpecs quant_specs; if (mlir::quant::ParseInputNodeQuantSpecs( input_arrays, min_values, max_values, inference_type, &quant_specs)) { llvm::errs() << "Failed to get input quant spec."; return kTrFailure; } if (weight_quantization != "NONE") { quant_specs.weight_quantization = true; if (weight_quantization == "INT8") {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 03 18:01:23 UTC 2024 - 14K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tf_to_tfl_flatbuffer.cc
const mlir::quant::QuantizationSpecs& quant_specs = pass_config.quant_specs; OpOrArgLocNameMapper op_or_arg_name_mapper; tflite::FlatbufferExportOptions options; std::string translated_result; options.toco_flags = toco_flags; options.saved_model_tags = saved_model_tags; options.op_or_arg_name_mapper = &op_or_arg_name_mapper; if (quant_specs.support_mask !=
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 03 18:01:23 UTC 2024 - 23.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/passes.h
// Creates an instance of the TensorFlow Lite dialect Quantize pass. // Use quant_specs.ops_blocklist and quant_specs.nodes_blocklist if possible // as they are now structure variables of QuantizationSpecs. std::unique_ptr<OperationPass<func::FuncOp>> CreateQuantizePass( const quant::QuantizationSpecs& quant_specs, const absl::flat_hash_set<std::string>& ops_blocklist = {},
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 07 21:29:34 UTC 2024 - 10.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_weights.cc
// Initialize for tests. void initializeForTest() { if (!test_mode_) return; tensorflow::quantization::QuantizationComponentSpec quant_spec; quant_spec.set_quantization_component( tensorflow::quantization::QuantizationComponentSpec::COMPONENT_WEIGHT); quant_spec.set_tensor_type( tensorflow::quantization::QuantizationComponentSpec::TENSORTYPE_INT_8);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 05 07:39:40 UTC 2024 - 11.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/passes.h
std::unique_ptr<OperationPass<func::FuncOp>> CreateQuantizePass( QuantizationSpecs quant_specs, tensorflow::quantization::OpSet target_opset); // Creates an instance of the PrepareQuantize pass, which will perform similar // transformations as TFL::PrepareQuantizePass. std::unique_ptr<OperationPass<func::FuncOp>> CreatePrepareQuantizePass( const QuantizationSpecs& quant_specs, tensorflow::quantization::QuantizationMethod::PresetMethod
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 10 04:07:09 UTC 2024 - 12.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.h
absl::flat_hash_set<std::string> ops_blocklist = quant_params_.quant_spec.ops_blocklist; absl::flat_hash_set<std::string> nodes_blocklist = quant_params_.quant_spec.nodes_blocklist; CustomMap custom_map = quant_params_.quant_spec.custom_map; // Rewrite the floating-point ops to the quantized version, by fusing // preceding dequantize ops and succeding quantize ops.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 20:30:06 UTC 2024 - 41.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_config.h
absl::string_view max_values, absl::string_view inference_type, QuantizationSpecs* quant_specs); // Gets the quantization specification for input arrays. The array names are not // stored in the spec, and will be matched by position. The min/max will be
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 13 10:16:19 UTC 2024 - 10.8K bytes - Viewed (0)