I would like to know how to traverse a network without any prior knowledge of the network, such as the naming convention. For example, if I have a layer (or module) in a network, how can I know what are the input layers and the output layer? Another example is that if I have a tensor, how can I know what layer (module) generated it?
Thanks!