mirror of https://github.com/llvm/torch-mlir
[Stablehlo] fix template typo (#3842)
I think we should use template parameters. @yyp0 @qingyunqupull/3848/head
parent
7f9f99c6f8
commit
3dbeda9082
|
@ -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