- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for replaceUsesOfWith (0.27 sec)
-
tensorflow/compiler/mlir/lite/utils/fake_quant_utils.h
auto dequantize = rewriter.create<TFL::DequantizeOp>( tf_op.getLoc(), res_type, quantize.getOutput()); value.replaceAllUsesWith(dequantize); quantize.getOperation()->replaceUsesOfWith(dequantize, value); return success(); } bool use_fake_quant_num_bits_; }; // Removes the wrapper of the tf.FakeQuant* ops and creates the tfl.quantize
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 6.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/tensorflow/tf_to_quant.cc
auto dequantize = rewriter.create<quantfork::DequantizeCastOp>( tf_op.getLoc(), res_type, quantize.getResult()); value.replaceAllUsesWith(dequantize); quantize.getOperation()->replaceUsesOfWith(dequantize, value); return success(); } }; using PreparePerTensorFakeQuant = InsertQuantOpsAfterTFFakeQuantOp<TF::FakeQuantWithMinMaxVarsOp, false>;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/default_quant_params.cc
value.replaceAllUsesWith(dequantize); // `quantize` is using `dequantize` now, so we should set its operand to // `value`. quantize.getOperation()->replaceUsesOfWith(dequantize, value); } quant::QuantParams DefaultQuantParamsPass::GetQuantParamsForBias( Operation *op, int bias, const std::vector<int> &non_biases, quant::AccumulatorScaleFunc func) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 9.4K bytes - Viewed (0)