Skip to content

feat: add softmax operation support#17

Open
Jah-yee wants to merge 2 commits into
thinking-machines-lab:mainfrom
Jah-yee:softmax-op
Open

feat: add softmax operation support#17
Jah-yee wants to merge 2 commits into
thinking-machines-lab:mainfrom
Jah-yee:softmax-op

Conversation

@Jah-yee
Copy link
Copy Markdown

@Jah-yee Jah-yee commented Apr 15, 2026

Summary

Added softmax operation support alongside log_softmax.

Changes

  • Added softmax function
  • Registered in batch_invariant mode

Reference: Issue #14 - batch-invariant operations expansion

Good day!

Warmly,
RoomWithoutRoof

RoomWithOutRoof and others added 2 commits April 15, 2026 22:49
- Add comprehensive tests in tests/test_batch_invariant_ops.py
- Fix mean_dim to handle empty dimension (return zeros instead of NaN)

Good day,

Thank you for your work on this excellent library!

Warmly,
RoomWithOutRoof
Added softmax along with log_softmax, expanding batch-invariant operations.

Good day!

Warmly,
RoomWithoutRoof
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant