(self, x)
return ys
Compute feature maps from a batch of images.

        This method extracts feature maps from 3 layers.

        Args:
            x (ndarray): An array holding a batch of images.
                The images should be resized to :math:`416\\times 416`.

        Returns:
            list of Variable:
            Each variable contains a feature map.
Compute feature maps from a batch of images.
Compute feature maps from a batch of images .
def forward(self, x):
        """Compute feature maps from a batch of images.

        This method extracts feature maps from 3 layers.

        Args:
            x (ndarray): An array holding a batch of images.
                The images should be resized to :math:`416\\times 416`.

        Returns:
            list of Variable:
            Each variable contains a feature map.
        """

        ys = []
        h = x
        hs = []
        for i, link in enumerate(self):
            h = link(h)
            if i in {33, 39, 45}:
                ys.append(h)
            elif i in {14, 23}:
                hs.append(h)
            elif i in {34, 40}:
                h = F.concat((_upsample(h), hs.pop()))
        return ys
def forward ( self , x ) : ys = [ ] h = x hs = [ ] for i , link in enumerate ( self ) : h = link ( h ) if i in { 33 , 39 , 45 } : ys . append ( h ) elif i in { 14 , 23 } : hs . append ( h ) elif i in { 34 , 40 } : h = F . concat ( ( _upsample ( h ) , hs . pop ( ) ) ) return ys