Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

In mxnet.monitor, does "outputs" means the intermediate activations in the forward() pass? Is there an efficient method to obtain activations of intermediate layers without extra computation? #19168

Answered by ptrendx
wydwww asked this question in Q&A
Discussion options

You must be logged in to vote

Could you clarify what it is that you try to accomplish? If you want to debug an output inside the graph then mxnet.monitor is a debug tool that lets you do that. It is typically used once per many iterations due to the high overhead. If instead what you want is to get some specific activations and use it in some other network for example, then you can group the activations you want together using mx.sym.Group and return as the result of the network - this will make the network produce multiple outputs.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@wydwww
Comment options

@wydwww
Comment options

Answer selected by wydwww
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants