- Sort Score
- Result 10 results
- Languages All
Results 11 - 14 of 14 for min_num_elements_for_weights (0.2 sec)
-
tensorflow/compiler/mlir/lite/transforms/prepare_quantize_dynamic_range.cc
<< mlir::dyn_cast<DenseFPElementsAttr>(attr).size() << " elements which is fewer than the " "`minimum_elements_for_weights` threshold of " << quant_specs_.minimum_elements_for_weights; return false; } return true; } return false; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 20.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_quantize_drq.cc
if (attr.size() < quant_specs_.minimum_elements_for_weights) { op->emitRemark("Quantization is skipped for ") << quantized_op->getName().getStringRef().str() << " because it has " << mlir::dyn_cast<DenseFPElementsAttr>(attr).size() << " elements which is fewer than the threshold(" << quant_specs_.minimum_elements_for_weights << " elements)."; return false; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/lite/quantize_weights.h
const tflite::TensorType& inference_type, const absl::flat_hash_set<std::string>& denylisted_ops, const CustomOpMap& custom_op_map, int64_t minimum_elements_for_weights = 1024, bool disable_per_channel = false, bool weight_only_quantization = false, bool legacy_float_scale = false); // Overloading methods to support old quantizer versions API
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 23:15:24 UTC 2024 - 4.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_config.h
// it is hard to get performance benefits from them with quantization. Used // in MLIR dynamic range quantizer with int8 weight data type. int64_t minimum_elements_for_weights = 1024; // Whether to calculate scales in float to keep quantized values the same with // old TOCO quantizer. bool legacy_float_scale = false;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 13 10:16:19 UTC 2024 - 10.8K bytes - Viewed (0)