zoo/inception/inception_v1_c.py
def group(self, x, blocks, pooling=True, n_classes=1000, **metaparameters):
        """ Construct an Inception group
            x         : input into the group
            blocks    : filters for each block in the group
            pooling   : whether to end the group with max pooling
            n_classes : number of classes for auxiliary classifier
        """
        aux = [] # Auxiliary Outputs

        # Construct the inception blocks (modules)
        for block in blocks:
            # Add auxiliary classifier
            if block is None:
               aux.append(self.auxiliary(x, n_classes, **metaparameters))
            else:
                x = self.inception_block(x, block[0], block[1], block[2], block[3], **metaparameters)           

        if pooling:
            x = ZeroPadding2D(padding=(1, 1))(x)
            x = MaxPooling2D((3, 3), strides=2)(x)
        return x, aux
 Construct an Inception group
            x         : input into the group
            blocks    : filters for each block in the group
            pooling   : whether to end the group with max pooling
            n_classes : number of classes for auxiliary classifier
        
Construct an Inception group
x         : input into the group
blocks    : filters for each block in the group
pooling   : whether to end the group with max pooling
n_classes : number of classes for auxiliary classifier
Construct an Inception group x : input into the group blocks : filters for each block in the group pooling : whether to end the group with max pooling n_classes : number of classes for auxiliary classifier
def group(self, x, blocks, pooling=True, n_classes=1000, **metaparameters):
        aux = [] 
        for block in blocks:
            if block is None:
               aux.append(self.auxiliary(x, n_classes, **metaparameters))
            else:
                x = self.inception_block(x, block[0], block[1], block[2], block[3], **metaparameters)           
        if pooling:
            x = ZeroPadding2D(padding=(1, 1))(x)
            x = MaxPooling2D((3, 3), strides=2)(x)
        return x, aux
def group ( self , x , blocks , pooling = True , n_classes = 1000 , ** metaparameters ) : aux = [ ] for block in blocks : if block is None : aux . append ( self . auxiliary ( x , n_classes , ** metaparameters ) ) else : x = self . inception_block ( x , block [ 0 ] , block [ 1 ] , block [ 2 ] , block [ 3 ] , ** metaparameters ) if pooling : x = ZeroPadding2D ( padding = ( 1 , 1 ) ) ( x ) x = MaxPooling2D ( ( 3 , 3 ) , strides = 2 ) ( x ) return x , aux
Construct an Inception group
x         : input into the group
blocks    : filters for each block in the group
pooling   : whether to end the group with max pooling
n_classes : number of classes for auxiliary classifier
Construct an Inception group x : input into the group blocks : filters for each block in the group pooling : whether to end the group with max pooling n_classes : number of classes for auxiliary classifier
""" Construct an Inception group
            x         : input into the group
            blocks    : filters for each block in the group
            pooling   : whether to end the group with max pooling
            n_classes : number of classes for auxiliary classifier
        """ # Auxiliary Outputs # Construct the inception blocks (modules) # Add auxiliary classifier
self
x
blocks
pooling
n_classes