Is there an equivalent to torch module output member in pytorch?
For instance, looking at the following class
class Example(nn.Module):
    def __init__(self):
        self.L1 = nn.Linear(1,10)
        self.L2 = nn.Linear(10,1)
    def forward(self,x)
          x = self.L2(self.L1(x))
          return x

Is it possible that after I call forward by
m = Example()
m(autograd.Variable(torch.randn(1,1))

to get access to m.L1 output for this run?
Thanks