@@ -655,7 +655,7 @@ LogicalResult tosa::TileOp::inferReturnTypeComponents(
655
655
return success ();
656
656
}
657
657
658
- static SmallVector<int64_t > ConvertToMlirShape (ArrayRef<int64_t > shape) {
658
+ static SmallVector<int64_t > convertToMlirShape (ArrayRef<int64_t > shape) {
659
659
return to_vector (llvm::map_range (shape, [](int64_t dim) {
660
660
return dim == -1 ? ShapedType::kDynamicSize : dim;
661
661
}));
@@ -671,7 +671,7 @@ LogicalResult tosa::ReshapeOp::inferReturnTypeComponents(
671
671
ArrayAttr newShape = adaptor.getNewShape ();
672
672
llvm::SmallVector<int64_t > newShapeValue;
673
673
getI64Values (newShape, newShapeValue);
674
- newShapeValue = ConvertToMlirShape (newShapeValue);
674
+ newShapeValue = convertToMlirShape (newShapeValue);
675
675
676
676
// We cannot infer from the total number of elements so we must take the
677
677
// shape attribute as exact.
@@ -1250,7 +1250,7 @@ LogicalResult TransposeConv2DOp::inferReturnTypeComponents(
1250
1250
TransposeConv2DOp::Adaptor adaptor (operands.getValues (), attributes);
1251
1251
llvm::SmallVector<int64_t > outputShape;
1252
1252
getI64Values (adaptor.getOutShape (), outputShape);
1253
- outputShape = ConvertToMlirShape (outputShape);
1253
+ outputShape = convertToMlirShape (outputShape);
1254
1254
1255
1255
int64_t inputWidth = ShapedType::kDynamicSize ;
1256
1256
int64_t inputHeight = ShapedType::kDynamicSize ;
0 commit comments