Incubator-mxnet: get each layer output

Created on 1 Sep 2016  路  5Comments  路  Source: apache/incubator-mxnet

whether i can get each neural output when i finish my training

Most helpful comment

@starimpact i just make a mistake, it should be used like this sym.get_internals()['***_output'].

All 5 comments

yes, you can. when you get your sym, just use sym.get_internals(a_output), a is your layer name.

@tornadomeet sym.get_internals() has no parameters.
@windelu you can use sym.Group to gather the internal layers as outputs.

@starimpact i just make a mistake, it should be used like this sym.get_internals()['***_output'].

This issue is closed due to lack of activity in the last 90 days. Feel free to reopen if this is still an active issue. Thanks!

sym.list_outputs() will work too.

Was this page helpful?
0 / 5 - 0 ratings