forked from neoml-lib/neoml
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reduce the number of transposes in NeoOnnx (neoml-lib#656)
* Add O_InputDim to CTransformLayer::TOperation Signed-off-by: Valeriy Fedyunin <valery.fedyunin@abbyy.com> * Fix assertion in CTransformLayer::CDimensionRule constructor Signed-off-by: Valeriy Fedyunin <valery.fedyunin@abbyy.com> * Implement ConvertTensor with CTransformLayer (via O_InputDim rule) Signed-off-by: Valeriy Fedyunin <valery.fedyunin@abbyy.com> * Add convertToChannelFirst and convertToChannelLast special cases to ConverTensor Signed-off-by: Valeriy Fedyunin <valery.fedyunin@abbyy.com> Co-authored-by: Stanislav Angeliuk <59917951+SAngeliuk@users.noreply.github.com>
- Loading branch information
Showing
3 changed files
with
193 additions
and
11 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
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