Thanks for your reply, and i mean that i define the network by sequential and in forward process, i want to get intermediate outputs, so i use o1=m[0](m[1](x)) o2=m[3](m[2](o1)) and output o1, and o2. I want make sure that the process whether the same as o=m(x)（including forward , backward, weight update ect.）