mirror of https://github.com/llvm/torch-mlir
Fix comments
parent
de85278f1f
commit
2230c0de90
|
@ -491,7 +491,7 @@ public:
|
||||||
loc, input, extractOffsets, extractShape, allOneStrides);
|
loc, input, extractOffsets, extractShape, allOneStrides);
|
||||||
|
|
||||||
// Reverse the tile along the horizontal, vertical, or both
|
// Reverse the tile along the horizontal, vertical, or both
|
||||||
// dimensions
|
// dimensions.
|
||||||
auto inputMap = AffineMap::getMultiDimIdentityMap(numDims, context);
|
auto inputMap = AffineMap::getMultiDimIdentityMap(numDims, context);
|
||||||
if (shouldHReflect(horizontalPos)) {
|
if (shouldHReflect(horizontalPos)) {
|
||||||
inputMap =
|
inputMap =
|
||||||
|
@ -511,7 +511,7 @@ public:
|
||||||
})
|
})
|
||||||
.getResult(0);
|
.getResult(0);
|
||||||
|
|
||||||
// Insert the tile in the resultTensor
|
// Insert the tile in the resultTensor.
|
||||||
SmallVector<Value> insertOffsets(numDims, zero);
|
SmallVector<Value> insertOffsets(numDims, zero);
|
||||||
insertOffsets[hDim] = insertHOffset[horizontalPos];
|
insertOffsets[hDim] = insertHOffset[horizontalPos];
|
||||||
insertOffsets[vDim] = insertVOffset[verticalPos];
|
insertOffsets[vDim] = insertVOffset[verticalPos];
|
||||||
|
|
Loading…
Reference in New Issue