Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ConversionPattern (0.2 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/tfg-to-tfe.cc

                                                          adaptor.getOperands());
        return success();
      }
    };
    
    class ConvertControlTriggerOp : public ConversionPattern {
     public:
      explicit ConvertControlTriggerOp(MLIRContext *context)
          : ConversionPattern("tfg.ControlTrigger", PatternBenefit(1), context) {}
    
      LogicalResult matchAndRewrite(
          Operation *op, llvm::ArrayRef<Value> operands,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_types.cc

          return converter_.isLegal(op);
        });
      }
    
     private:
      TFQuantTypeConverter &converter_;
    };
    
    class TFQuantTypePattern : public ConversionPattern {
     public:
      TFQuantTypePattern(MLIRContext *ctx, TypeConverter &converter)
          : ConversionPattern(converter, MatchAnyOpTypeTag(), 1, ctx) {}
    
      LogicalResult matchAndRewrite(
          Operation *op, ArrayRef<Value> operands,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 12.6K bytes
    - Viewed (0)
Back to top