- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for SameScalesOpInterface (0.45 sec)
-
tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.cc
auto spec = std::make_unique<OpQuantScaleSpec>(); if (isa<SameScalesOpInterface>(op)) { spec->has_same_scale_requirement = true; spec->required_same_scale_func = [op](const bool sign, const int bit_width) { return cast<SameScalesOpInterface>(op) .RequiredSameOperandsAndResultsScale(sign, bit_width); };
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 08 02:10:16 UTC 2024 - 43.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/prepare_quantize_helper.h
rewriter))) { return failure(); } } else if (!llvm::isa<DQ>(input.getDefiningOp()) && !llvm::isa<SameScalesOpInterface, FixedOutputRangeInterface>( input.getDefiningOp())) { // Continue if StatisticsOp is already converted to Q-DQ pair, or
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 03 18:01:23 UTC 2024 - 28K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.h
if (!pre_quantized_type) return failure(); Operation* def = pre_quantized.getDefiningOp(); if (!def) return failure(); if (llvm::isa<FixedOutputRangeInterface, SameScalesOpInterface>(def) || !def->hasTrait<OpTrait::quant::QuantizableResult>()) { return failure(); } // This op should not clobber def, if more than one requant of this value.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 20:30:06 UTC 2024 - 41.7K bytes - Viewed (0)