• Adam Rogowiec's avatar
    [ONNX] Handle trimmed optional outputs. (#2434) · 12b5f085
    Adam Rogowiec authored
    * Function for retrieving number of node outputs.
    
    * Handle optional trimmed outputs.
    
    * Fix compilation err on clang.
    
    * Fix error for number of outputs.
    
    - Iterate over the minimum of number of outputs we return and the number
      of outputs of respective node in the graph. Some outputs may be
      optional and trimmed, as well as for some op implementations we may
      return not all outputs (ie. Dropout - where we do not return additional
      optional output).
    
    * Update graph.cpp
    
    * Add dropout ONNX op.
    
    * Revert to iterate over node outputs in graph.
    
    * Use more apropriate word in comment.
    12b5f085
Name
Last commit
Last update
.ci Loading commit data...
cmake Loading commit data...
contrib/docker Loading commit data...
doc Loading commit data...
licenses Loading commit data...
maint Loading commit data...
python Loading commit data...
src Loading commit data...
test Loading commit data...
.clang-format Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
.travis.yml Loading commit data...
ABOUT.md Loading commit data...
CMakeLists.txt Loading commit data...
CODEOWNERS Loading commit data...
CONTRIB.md Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
VERSION.in Loading commit data...
changes.md Loading commit data...
ecosystem-overview.md Loading commit data...