Skip to content

Commit

Permalink
Pad dimensions of matmul argument to handle vector case.
Browse files Browse the repository at this point in the history
  • Loading branch information
ashesfall committed Sep 28, 2024
1 parent 98a1733 commit b4f0399
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ default <T extends PackedCollection<?>> CollectionProducer<T> matmul(Producer<T>
int n = shape.length(1);

if (enableCollectionExpression) {
int p = vshape.length(1);
int p = padDimensions(vshape, 1, 2).length(1);

TraversalPolicy resultShape = shape(m, p);

Expand Down

0 comments on commit b4f0399

Please sign in to comment.