Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for CreateLegalizeHloToTfPass (0.26 sec)

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

    std::unique_ptr<OperationPass<ModuleOp>> CreateTransposeCommuteOpsPass();
    
    // Create a pass that legalizes MHLO to TF dialect.
    std::unique_ptr<OperationPass<ModuleOp>> CreateLegalizeHloToTfPass();
    
    // Creates a pass which replaces a splat constant tensor with a BroadcastInDim
    // op.
    std::unique_ptr<OperationPass<ModuleOp>> CreateUnfoldSplatConstantPass();
    
    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/passes.td

    }
    
    def LegalizeHloToTfPass : Pass<"tf-legalize-hlo", "ModuleOp"> {
      let summary = "Legalize from MHLO to the TF dialect";
      let dependentDialects = ["TF::TensorFlowDialect"];
      let constructor = "mlir::odml::CreateLegalizeHloToTfPass()";
    }
    
    def LegalizeHloToTfLitePass : Pass<"tfl-legalize-hlo", "mlir::ModuleOp"> {
      let summary = "Legalize from MHLO to the TFLite dialect";
      let dependentDialects = ["TFL::TensorFlowLiteDialect"];
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 21:59:06 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/tf_tfl_passes.cc

      if (!pass_config.disable_hlo_to_tfl_conversion) {
        pass_manager.addPass(mlir::odml::CreateLegalizeHloToTfLitePass());
      }
      // TF dialect passes
      pass_manager.addPass(mlir::odml::CreateLegalizeHloToTfPass());
    
      // folds tf.BroadcastTo ops with subsequent ops if they have built in
      // broadcasting support. This needs to be run immediately after HLO->TF
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 18:45:51 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc

                ConvertDynamicIotaOp, ConvertRealDynamicSliceOp>(context);
      populateWithGenerated(*patterns);
    }
    
    std::unique_ptr<OperationPass<ModuleOp>> CreateLegalizeHloToTfPass() {
      return std::make_unique<LegalizeHloToTf>();
    }
    
    static PassRegistration<LegalizeHloToTf> pass;
    
    }  // end namespace odml
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 154.9K bytes
    - Viewed (0)
Back to top