singa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [singa] joddiy opened a new pull request #774: fix sonnx last layers
Date Sun, 02 Aug 2020 16:46:34 GMT

joddiy opened a new pull request #774:
URL: https://github.com/apache/singa/pull/774


   Some adjust to the SONNX logics.
   
   Now, it count and pick the last layer from the final output layer.
   
   For example, a model's last few layers are:
   ```
   ...
       |
   GlobalAveragePool
       |
   Flatten
       |
   Gemm
       |
   output
   ```
   To get the `output`'s output, set the last_layers=-1
   To get the `Gemm`'s output, set the last_layers=-2
   To get the `Flatten`'s output, set the last_layers=-3
   ...
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



Mime
View raw message