(self, x)
return res4, res5
Forward the chain.

        Args:
            x (~chainer.Variable): 4D image variable.
Forward the chain.
Forward the chain .
def forward(self, x):
        """Forward the chain.

        Args:
            x (~chainer.Variable): 4D image variable.

       """

        with chainer.using_config('train', False):
            h = self.pool1(self.conv1(x))
            h = self.res2(h)
            h.unchain_backward()
            h = self.res3(h)
            res4 = self.res4(h)
            res5 = self.res5(res4)
        return res4, res5
def forward ( self , x ) : with chainer . using_config ( 'train' , False ) : h = self . pool1 ( self . conv1 ( x ) ) h = self . res2 ( h ) h . unchain_backward ( ) h = self . res3 ( h ) res4 = self . res4 ( h ) res5 = self . res5 ( res4 ) return res4 , res5