[Stablehlo] fix template typo (#3842)

I think we should use template parameters. @yyp0 @qingyunqu
pull/3848/head
Xinyu Yang 2024-11-01 21:10:38 +08:00 committed by GitHub
parent 7f9f99c6f8
commit 3dbeda9082
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -941,7 +941,7 @@ public:
matchAndRewrite(AtenOpT op, OpAdaptor adaptor, matchAndRewrite(AtenOpT op, OpAdaptor adaptor,
ConversionPatternRewriter &rewriter) const override { ConversionPatternRewriter &rewriter) const override {
auto outType = cast<TensorType>( auto outType = cast<TensorType>(
OpConversionPattern<AtenPowScalarOp>::getTypeConverter()->convertType( OpConversionPattern<AtenOpT>::getTypeConverter()->convertType(
op.getType())); op.getType()));
Type outElemTy = outType.getElementType(); Type outElemTy = outType.getElementType();