- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for addIllegalDialect (0.18 sec)
-
tensorflow/compiler/mlir/tf2xla/transforms/xla_legalize_targets.cc
bool legalize_chlo) { ConversionTarget target(mlir_context); if (legalize_chlo) { target.addIllegalDialect<chlo::ChloDialect>(); target.addIllegalDialect<stablehlo::StablehloDialect>(); } else { target.addLegalDialect<chlo::ChloDialect>(); } target.addLegalDialect<MhloDialect>(); target.addLegalDialect<arith::ArithDialect>();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 21 17:44:14 UTC 2024 - 2.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_stablehlo_to_vhlo.cc
LogicalResult ApplyStablehloToVhloPatterns(ModuleOp module, bool is_func_legal) { MLIRContext *context = module.getContext(); ConversionTarget target(*context); target.addIllegalDialect<stablehlo::StablehloDialect>(); target.addDynamicallyLegalDialect<func::FuncDialect>( [&](auto) { return is_func_legal; }); target.addLegalDialect<TFL::TensorFlowLiteDialect>();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 15 19:48:51 UTC 2024 - 12.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/tf_stablehlo_pass.cc
chlo::populateChloToHloPatterns(context, &hlo_converter, &patterns); chlo::ConstantLikeOp::getCanonicalizationPatterns(patterns, context); ConversionTarget target(*context); target.addIllegalDialect<chlo::ChloDialect>(); target.addLegalDialect<mhlo::MhloDialect>(); target.addLegalDialect<arith::ArithDialect>(); target.addLegalDialect<func::FuncDialect>(); target.addLegalDialect<tensor::TensorDialect>();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 28 21:49:50 UTC 2024 - 7.5K bytes - Viewed (0)