forked from apache/mxnet
-
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.
Partitioning Gluon HybridBlocks (apache#15969)
* stub for optimizing Gluon block * Init commit for Gluon hybridblocks partition(sample test included) * Added tests for Gluon and refactored tests * call optimize_for in _build_cache * Pass in 4 paras for gluon optimize_for * Fixed auxiliary state issue, args issue and added 2 tests. * Fixed auxiliary state issue, args issue and added 2 tests. * changed parameter check * refactored param init since needed for partitioning * fixed whitespace * fixed flattened args * fixed sanity & updated tests * fixed whitespace * added context support in tests * Fix python2 errors * clean code remove cargs * Add hybridblock hybridize() description Co-authored-by: guanxinq <[email protected]>
- Loading branch information
1 parent
2bb4f81
commit 5daf529
Showing
2 changed files
with
508 additions
and
361 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
Oops, something went wrong.