Skip to content

Commit

Permalink
fix API change
Browse files Browse the repository at this point in the history
  • Loading branch information
Ze Zhang committed Jul 15, 2023
1 parent 0ad1633 commit 5f50f17
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Value createElementwiseLinalgGeneric(
// the tensorOperands, since all the operands are expected to have the same
// shape.
SmallVector<OpFoldResult> resultDimSizes =
mlir::tensor::createDimValues(b, loc, tensorOperands[0]);
mlir::tensor::getMixedSizes(b, loc, tensorOperands[0]);

// Add indexing maps for all the tensor operands and for the result.
SmallVector<AffineMap> indexingMaps{tensorOperands.size() + 1,
Expand Down

0 comments on commit 5f50f17

Please sign in to comment.