zoo/senet/se_resnext_c.py
def learner(self, x, **metaparameters):
        """ Construct the Learner
            x          : input to the learner
            groups     : list of groups: filters in, filters out, number of blocks
        """
        groups = metaparameters['groups']

        # First ResNeXt Group (not strided)
        x = self.group(x, strides=(1, 1), **groups.pop(0), **metaparameters)

        # Remaining ResNeXt Groups
        for group in groups:
            x = self.group(x, **group, **metaparameters)
        return x
 Construct the Learner
            x          : input to the learner
            groups     : list of groups: filters in, filters out, number of blocks
        
Construct the Learner
x          : input to the learner
groups     : list of groups: filters in, filters out, number of blocks
Construct the Learner x : input to the learner groups : list of groups : filters in filters out number of blocks
def learner(self, x, **metaparameters):
        groups = metaparameters['groups']
        x = self.group(x, strides=(1, 1), **groups.pop(0), **metaparameters)
        for group in groups:
            x = self.group(x, **group, **metaparameters)
        return x
def learner ( self , x , ** metaparameters ) : groups = metaparameters [ 'groups' ] x = self . group ( x , strides = ( 1 , 1 ) , ** groups . pop ( 0 ) , ** metaparameters ) for group in groups : x = self . group ( x , ** group , ** metaparameters ) return x
Construct the Learner
x          : input to the learner
groups     : list of groups: filters in, filters out, number of blocks
Construct the Learner x : input to the learner groups : list of groups : filters in filters out number of blocks
""" Construct the Learner
            x          : input to the learner
            groups     : list of groups: filters in, filters out, number of blocks
        """ # First ResNeXt Group (not strided) # Remaining ResNeXt Groups
self
x