mirror of https://github.com/llvm/torch-mlir
[Stablehlo] fix template typo (#3842)
I think we should use template parameters. @yyp0 @qingyunqubyteir
parent
61b7d31136
commit
d4a7349141
|
@ -941,7 +941,7 @@ public:
|
|||
matchAndRewrite(AtenOpT op, OpAdaptor adaptor,
|
||||
ConversionPatternRewriter &rewriter) const override {
|
||||
auto outType = cast<TensorType>(
|
||||
OpConversionPattern<AtenPowScalarOp>::getTypeConverter()->convertType(
|
||||
OpConversionPattern<AtenOpT>::getTypeConverter()->convertType(
|
||||
op.getType()));
|
||||
|
||||
Type outElemTy = outType.getElementType();
|
||||
|
|
Loading…
Reference in New Issue