Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for addIllegalDialect (0.15 sec)

  1. 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)
Back to top