Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for PopulateLoweringQuantizedPatterns (0.57 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/lower_quantized.cc

    class LowerQuantizedPass
        : public impl::LowerQuantizedPassBase<LowerQuantizedPass> {
     public:
      void runOnOperation() override {
        RewritePatternSet patterns(&getContext());
        mlir::TF::PopulateLoweringQuantizedPatterns(&getContext(), &patterns);
        (void)applyPatternsAndFoldGreedily(getOperation(), std::move(patterns));
      }
    };
    
    }  // namespace
    
    std::unique_ptr<OperationPass<func::FuncOp>> CreateLowerQuantizedPass() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 05 23:50:19 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.h

    // Patterns are from ops with some inputs or outputs that are quantized types
    // only to ops that allow non-quantized types on all inputs and outputs.
    void PopulateLoweringQuantizedPatterns(MLIRContext *context,
                                           RewritePatternSet *patterns);
    
    }  // namespace TF
    }  // namespace mlir
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 27 15:05:02 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/internal/passes/mark_ops_for_outside_compilation.cc

      RewritePatternSet patterns(&getContext());
      mlir::mhlo::PopulateLegalizeTfPatterns(module.getContext(), &patterns);
      mlir::TF::PopulateTFLoweringBeforeHLOPatterns(module.getContext(), &patterns);
      mlir::TF::PopulateLoweringQuantizedPatterns(module.getContext(), &patterns);
      AddCanonicalizationPatterns(module.getContext(), &patterns);
    
      // `supported_ops` contains the name of all of the ops that can potentially be
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc

          LowerTruncateDivOpOnIntTensors,
          LowerTruncateDivOpOnFloatTensors,
          LowerXdivyOp,
          LowerXlog1pyOp,
          LowerXlogyOp>(context);
      // clang-format on
    }
    
    void PopulateLoweringQuantizedPatterns(MLIRContext *context,
                                           RewritePatternSet *patterns) {
      // clang-format off
      patterns->add<
          LowerDequantizeOp>(context);
      // clang-format on
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 74.9K bytes
    - Viewed (0)
Back to top