mirror of
https://github.com/ml-explore/mlx-examples.git
synced 2025-12-16 02:08:55 +08:00
nits
This commit is contained in:
@@ -186,8 +186,7 @@ class Mamba2Block(nn.Module):
|
||||
|
||||
# Update state - matches PyTorch implementation
|
||||
next_state = (
|
||||
next_state * mx.expand_dims(dAt, axis=(-1, -2)) +
|
||||
dBx
|
||||
next_state * mx.expand_dims(dAt, axis=(-1, -2)) + dBx
|
||||
)
|
||||
|
||||
# Compute output
|
||||
|
||||
Reference in New Issue
Block a user