Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for createFuseConvolutionPass (0.45 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/transforms/passes.h

    std::unique_ptr<Pass> createFoldBroadcastPass();
    
    // Creates a pass which fuses MHLO binary element-wise ops and convolution op.
    std::unique_ptr<Pass> createFuseConvolutionPass();
    
    // Creates a pass which applies various optimizations on MHLO IR.
    std::unique_ptr<Pass> createOptimizePass();
    
    // Creates a pass that finds quantization patterns and compose them to uniform
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 21:59:06 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/stablehlo/transforms/transforms.cc

                                   const bool add_fold_broadcast_pass) {
      // Rewrites some patterns for better performance.
      pm.addNestedPass<func::FuncOp>(createUnfuseBatchNormPass());
      pm.addNestedPass<func::FuncOp>(createFuseConvolutionPass());
      pm.addNestedPass<func::FuncOp>(createOptimizePass());
      // Conditionally enable below pass because this causes unfused convolutions
      // described in b/293149194. This problem is not replicated in
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 04:34:23 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/stablehlo/transforms/fuse_convolution_pass.cc

        if (failed(applyPatternsAndFoldGreedily(getOperation(),
                                                std::move(patterns)))) {
          return signalPassFailure();
        }
      }
    };
    
    std::unique_ptr<Pass> createFuseConvolutionPass() {
      return std::make_unique<FuseMhloConvolutionPass>();
    }
    
    static PassRegistration<FuseMhloConvolutionPass> pass;
    
    }  // namespace odml
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 22:21:19 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/quantize_preprocess.cc

      // Unfuse mhlo BatchNorm to primitive ops.
      pm.addNestedPass<mlir::func::FuncOp>(mlir::odml::createUnfuseBatchNormPass());
      // Fuse Conv + Mul to Conv.
      pm.addNestedPass<mlir::func::FuncOp>(mlir::odml::createFuseConvolutionPass());
      // Fold broadcast_in_dim + Mul.
      pm.addNestedPass<mlir::func::FuncOp>(mlir::odml::createFoldBroadcastPass());
      pm.addNestedPass<mlir::func::FuncOp>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 12:49:45 UTC 2024
    - 9.8K bytes
    - Viewed (0)
Back to top