-
Notifications
You must be signed in to change notification settings - Fork 609
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
iter-to-iter variable batch size (#2481)
* Update C API to support i2i variable batch size * Update nvJpegDecoder and its flavours to support variable BS * Update Constant op for the same reason * Partially split Executor into h and cc file, to make development convenient * Also add variable batch size routines to Executor (batch size queues, PreRun with BS inferring from the graph) * Introduce BatchSizeProvider interface and add it to ExternalSource * Add a Prophet to CachingList (inner ExternalSource memory), so that it can traverse over the data list asynchronously w.r.t current head and tail of this list * Modify constraint that stipulates constant batch size to stipulate uniform batch size within single iteration * Python API adjustment * Adding enormous test for i2i variable batch size (every op is tested) Signed-off-by: Michał Szołucha <mszolucha@nvidia.com>
- Loading branch information
Showing
26 changed files
with
1,703 additions
and
426 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
Oops, something went wrong.