Hi @ptrblck how can I store each layer (internal or external) out put as they calculate forward pass. I am not using name of each layer I want to store according to indexing of of each layer.
In my model there is layer in side layer also present.
Example : -
Sequential(
  (0): Conv2d()
  (1): BatchNorm2d()
  (2): ReLU()
  (3): Sequential(
    (0): ConcatTable(
      (0): Sequential(
        (0): BatchNorm2d()
        (1): ReLU()
        (2): Conv2d()
        (3): BatchNorm2d()
        (4): ReLU()
        (5): Conv2d()
        (6): BatchNorm2d()
        (7): ReLU()
        (8): Conv2d()
      )
      (1): Sequential()
    )
    (1): CAddTable()
  )

Note : - I removed the input , output and kernel etc info.
Thanks