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:
[email protected]