Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for CreateOptimizeBatchMatmulPass (0.36 sec)

  1. tensorflow/compiler/mlir/lite/tf_tfl_passes.cc

        // Enable an optimization pass that transforms FC to BatchMatmul only when
        // `unfold_batch_matmul=false`.
        pass_manager.addNestedPass<mlir::func::FuncOp>(
            mlir::TFL::CreateOptimizeBatchMatmulPass());
      }
      pass_manager.addNestedPass<mlir::func::FuncOp>(
          mlir::TFL::CreateOptimizePass(/*enable_canonicalization=*/true));
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 18:45:51 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/transforms/passes.h

    std::unique_ptr<OperationPass<func::FuncOp>> CreateOptimizePass();
    
    // Creates an instance of the Tensorflow Lite batch matmul Optimize pass.
    std::unique_ptr<OperationPass<func::FuncOp>> CreateOptimizeBatchMatmulPass();
    
    // Creates an instance of the TensorFlow Lite dialect PrepareTF pass.
    std::unique_ptr<OperationPass<func::FuncOp>> CreatePrepareTFPass(
        bool unfold_batch_matmul, bool allow_bf16_and_f16_type_legalization,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 07 21:29:34 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/transforms/optimize_batch_matmul.cc

      TFL::populateWithGenerated(patterns);
      (void)applyPatternsAndFoldGreedily(func, std::move(patterns));
    }
    }  // namespace
    
    std::unique_ptr<OperationPass<func::FuncOp>> CreateOptimizeBatchMatmulPass() {
      return std::make_unique<OptimizeBatchMatmulPass>();
    }
    
    static PassRegistration<OptimizeBatchMatmulPass> pass;
    
    }  // namespace TFL
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/transforms/passes.td

      ];
    }
    
    def OptimizeBatchMatmulPass : Pass<"tfl-optimize-batch-matmul", "mlir::func::FuncOp"> {
      let summary = "Optimize FC with BatchMatmul within the TensorFlow Lite dialect";
      let constructor = "CreateOptimizeBatchMatmulPass()";
      let dependentDialects = ["TFL::TensorFlowLiteDialect"];
    }
    
    def OptimizeFunctionalOpsPass : Pass<"tfl-optimize-functional-ops", "mlir::ModuleOp"> {
      let summary = "Optimize TensorFlow functional op";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 20:30:06 UTC 2024
    - 22.6K bytes
    - Viewed (0)
Back to top