Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for TFFakeQuantOp (0.14 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/utils/fake_quant_utils.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();
        return true;  // Successfully matched and fetched.
      }
    };
    
    template <class TFFakeQuantOp>
    struct FetchConstantMinMaxInputs {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/utils/fake_quant_utils.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();
        return true;  // Successfully matched and fetched.
      }
    };
    
    template <class TFFakeQuantOp>
    struct FetchConstantMinMaxInputs {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/quantization/tensorflow/tf_to_quant.cc

    //                   |
    template <typename TFFakeQuantOp, bool PerAxis>
    struct InsertQuantOpsAfterTFFakeQuantOp
        : public OpRewritePattern<TFFakeQuantOp> {
      using BaseType = InsertQuantOpsAfterTFFakeQuantOp<TFFakeQuantOp, PerAxis>;
    
      explicit InsertQuantOpsAfterTFFakeQuantOp<TFFakeQuantOp, PerAxis>(
          MLIRContext *ctx)
          : OpRewritePattern<TFFakeQuantOp>(ctx) {}
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.1K bytes
    - Viewed (0)
Back to top