forked from facebookresearch/pytext
-
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.
Make BiseqCNN ONNX / Mobile friendly (facebookresearch#586)
Summary: Pull Request resolved: facebookresearch#586 - Move from Conv2D to Conv1D - Explicit padding was creating unnecessary operators after ONNX. Changed it to using padding parameter in conv layers - Remove `if` conditions - Change pooling to adaptive pooling for ONNX Reviewed By: ArmenAg Differential Revision: D15327035 fbshipit-source-id: c3ce173ca9404eba53f01e57838f7f655ae645ff
- Loading branch information
1 parent
a3a8198
commit 4095d45
Showing
1 changed file
with
45 additions
and
59 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