mirror of
https://github.com/ml-explore/mlx-examples.git
synced 2025-07-04 15:56:16 +08:00
nits
This commit is contained in:
parent
3384d38a83
commit
4e94e87f57
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user