Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for replaceUsesOfWith (0.27 sec)

  1. 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)
  2. 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)
  3. 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)
Back to top