Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for FetchMinMaxAttrs (3.67 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/utils/fake_quant_utils.cc

        FetchConstantMinMaxInputs<TF::FakeQuantWithMinMaxVarsPerChannelOp>>;
    
    using PreparePerTensorFakeQuantWithMinMaxArgs = ConvertFakeQuantOpToQuantOps<
        TF::FakeQuantWithMinMaxArgsOp, /*PerAxis=*/false,
        FetchMinMaxAttrs<TF::FakeQuantWithMinMaxArgsOp>>;
    
    // Removes the wrapper of the tf.FakeQuant* ops and creates the quant.qcast
    // and quant.dcast pairs before tf.FakeQuant* ops are being foled.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 19 00:13:50 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/utils/fake_quant_utils.cc

    using PreparePerTensorFakeQuantWithMinMaxArgs =
        InsertTFLQuantOpsAfterTFFakeQuantOp<
            TF::FakeQuantWithMinMaxArgsOp, /*PerAxis=*/false,
            FetchMinMaxAttrs<TF::FakeQuantWithMinMaxArgsOp>>;
    
    // Removes the wrapper of the tf.FakeQuant* ops and creates the tfl.quantize
    // and tfl.dequantize pairs before tf.FakeQuant* being foled.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 03 00:14:05 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/utils/fake_quant_utils.h

    #include "tensorflow/compiler/mlir/lite/ir/tfl_ops.h"
    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.h"
    
    namespace mlir {
    namespace TFL {
    
    template <class TFFakeQuantOp>
    struct FetchMinMaxAttrs {
      using AttrType = FloatAttr;
      bool operator()(TFFakeQuantOp tf_op, AttrType &min_value,
                      AttrType &max_value) const {
        min_value = tf_op.getMinAttr();
        max_value = tf_op.getMaxAttr();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/utils/fake_quant_utils.h

    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.h"
    
    namespace mlir {
    namespace quant {
    
    template <class TFFakeQuantOp>
    struct FetchMinMaxAttrs {
      using AttrType = FloatAttr;
      bool operator()(TFFakeQuantOp tf_op, AttrType &min_value,
                      AttrType &max_value) const {
        min_value = tf_op.getMinAttr();
        max_value = tf_op.getMaxAttr();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.3K bytes
    - Viewed (0)
Back to top