[Stablehlo] fix template typo (#3842)

I think we should use template parameters. @yyp0 @qingyunqu
byteir
Xinyu Yang 2024-11-01 21:10:38 +08:00 committed by Yuanqiang Liu
parent 61b7d31136
commit d4a7349141
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();