Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kasper0406 committed Aug 20, 2024
1 parent cb93eed commit 3d65dbd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stablehlo_coreml/converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,8 +335,8 @@ def last_column_dot(lhs, rhs):

# Calculate the result by looping over the contracting dims in order
result_shape = [lhs.shape[dim] for dim in lhs_batching_dim]
result_shape.append([lhs.shape[dim] for dim in lhs_result_dim])
result_shape.append([rhs.shape[dim] for dim in rhs_result_dim])
result_shape += [lhs.shape[dim] for dim in lhs_result_dim]
result_shape += [rhs.shape[dim] for dim in rhs_result_dim]
if len(result_shape) == 0:
# Special case for scalar result
result_shape = [1]
Expand Down

0 comments on commit 3d65dbd

Please sign in to comment.