Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for setCustomCodeAttr (0.2 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/custom_call.cc

        ConversionPatternRewriter& rewriter) const {
      auto tfl_custom = rewriter.create<TFL::CustomOp>(
          mhlo_custom_call.getLoc(), mhlo_custom_call.getResultTypes(),
          mhlo_custom_call.getInputs());
      tfl_custom.setCustomCodeAttr(
          rewriter.getStringAttr(mhlo_custom_call.getCallTargetName()));
    
      if (auto bc = mhlo_custom_call.getBackendConfig()) {
        if (auto stringattr = mlir::dyn_cast_or_null<mlir::StringAttr>(*bc)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 2.3K bytes
    - Viewed (0)
Back to top