-
Notifications
You must be signed in to change notification settings - Fork 519
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[onnx] Support
onnx.OneHot
lowering to torch
Leverage the `aten.onehot` implementation along with `aten.transpose` and `aten.where.scalar`.
- Loading branch information
Robert Suderman
authored and
Robert Suderman
committed
Apr 20, 2024
1 parent
b01245c
commit 167bf0d
Showing
2 changed files
with
94 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters