zoo/mobilenet/mobilenet_v1_c.py
def group(self, x, **metaparameters):
        """ Construct a Depthwise Separable Convolution Group
            x         : input to the group
            n_blocks  : number of blocks in the group
        """   
        n_blocks  = metaparameters['n_blocks']

        # In first block, the depthwise convolution is strided - feature map size reduction
        x = self.depthwise_block(x, strides=(2, 2), **metaparameters)
    
        # Remaining blocks
        for _ in range(n_blocks - 1):
            x = self.depthwise_block(x, strides=(1, 1), **metaparameters)
        return x
 Construct a Depthwise Separable Convolution Group
            x         : input to the group
            n_blocks  : number of blocks in the group
        
Construct a Depthwise Separable Convolution Group
x         : input to the group
n_blocks  : number of blocks in the group
Construct a Depthwise Separable Convolution Group x : input to the group n_blocks : number of blocks in the group
def group(self, x, **metaparameters):
        n_blocks  = metaparameters['n_blocks']
        x = self.depthwise_block(x, strides=(2, 2), **metaparameters)
        for _ in range(n_blocks - 1):
            x = self.depthwise_block(x, strides=(1, 1), **metaparameters)
        return x
def group ( self , x , ** metaparameters ) : n_blocks = metaparameters [ 'n_blocks' ] x = self . depthwise_block ( x , strides = ( 2 , 2 ) , ** metaparameters ) for _ in range ( n_blocks - 1 ) : x = self . depthwise_block ( x , strides = ( 1 , 1 ) , ** metaparameters ) return x
Construct a Depthwise Separable Convolution Group
x         : input to the group
n_blocks  : number of blocks in the group
Construct a Depthwise Separable Convolution Group x : input to the group n_blocks : number of blocks in the group
""" Construct a Depthwise Separable Convolution Group
            x         : input to the group
            n_blocks  : number of blocks in the group
        """ # In first block, the depthwise convolution is strided - feature map size reduction # Remaining blocks
self
x