Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for PopulateLegalizeHloToTFLitePatterns (0.36 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/transforms/tflite_legalize_hlo.cc

    void LegalizeHloToTfLitePass::runOnOperation() {
      MLIRContext& context = getContext();
      RewritePatternSet patterns(&getContext());
      // Add new conversion patterns here.
      PopulateLegalizeHloToTFLitePatterns(&patterns, &context);
    
      ConversionTarget target(context);
      target.addLegalDialect<TFL::TensorFlowLiteDialect, mhlo::MhloDialect>();
      target.addLegalOp<func::CallOp, func::ConstantOp, arith::ConstantOp>();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/stablehlo/transforms/passes.h

    void PopulateLegalizeHloToTfPatterns(RewritePatternSet* patterns,
                                         MLIRContext* context);
    
    // Adds the HLO to TFLite rewrite patterns to the specified pattern list.
    void PopulateLegalizeHloToTFLitePatterns(RewritePatternSet* patterns,
                                             MLIRContext* context);
    
    #define GEN_PASS_DECL
    #define GEN_PASS_REGISTRATION
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 21:59:06 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top