Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for PopulateLegalizeTfWithTf2XlaPatterns (0.36 sec)

  1. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_with_tf2xla_passes.h

    /// `prefer_tf2xla` means an op will be included iff it is not in
    /// `MlirLegalizedUnderPreferTf2XlaSet`. `!prefer_tf2xla` mean an op will be
    /// included if there is no native MLIR legalization for the op.
    void PopulateLegalizeTfWithTf2XlaPatterns(llvm::StringRef device_type,
                                              RewritePatternSet& patterns,
                                              MLIRContext* ctx,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/stablehlo/transforms/tf_stablehlo_pass.cc

      RewritePatternSet patterns(context);
      mhlo::PopulateLegalizeTfPatterns(context, &patterns);
      TF::PopulateTFLoweringBeforeHLOPatterns(context, &patterns);
      mhlo::Tf2XlaTypeConverter converter;
      mhlo::PopulateLegalizeTfWithTf2XlaPatterns(
          "XLA_CPU_JIT", patterns, context, converter, /*prefer_tf2xla=*/false);
      stablehlo::StablehloToHloTypeConverter hlo_converter;
      chlo::populateChloToHloPatterns(context, &hlo_converter, &patterns);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_with_tf2xla.cc

        return builder.create<mlir::tensor::CastOp>(loc, result_type,
                                                    inputs.front());
      };
      addSourceMaterialization(cast_value);
    }
    
    void PopulateLegalizeTfWithTf2XlaPatterns(llvm::StringRef device_type,
                                              RewritePatternSet& patterns,
                                              MLIRContext* ctx,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 9.7K bytes
    - Viewed (0)
Back to top