zoo/unet/unet_c.py
def expandsive(self, x, **metaparameters):
        """ Construct Expansive Path (rightside)
            x      : input tensor to expansive path
            groups : expansive  path groups
        """
        groups = metaparameters['groups']

        # Input to expansive path 
        n_filters = groups[0]['n_filters']
        x = self.Conv2D(x, n_filters, (3, 3), strides=1, padding='valid')

        # Add each group on expansive path
        for group in groups:
            n_filters = group['n_filters']
            fmap      = group['fmap']
            x = self.expand_group(x, fmap, n_filters)

        return x
 Construct Expansive Path (rightside)
            x      : input tensor to expansive path
            groups : expansive  path groups
        
Construct Expansive Path (rightside)
x      : input tensor to expansive path
groups : expansive  path groups
Construct Expansive Path ( rightside ) x : input tensor to expansive path groups : expansive path groups
def expandsive(self, x, **metaparameters):
        groups = metaparameters['groups']
        n_filters = groups[0]['n_filters']
        x = self.Conv2D(x, n_filters, (3, 3), strides=1, padding='valid')
        for group in groups:
            n_filters = group['n_filters']
            fmap      = group['fmap']
            x = self.expand_group(x, fmap, n_filters)
        return x
def expandsive ( self , x , ** metaparameters ) : groups = metaparameters [ 'groups' ] n_filters = groups [ 0 ] [ 'n_filters' ] x = self . Conv2D ( x , n_filters , ( 3 , 3 ) , strides = 1 , padding = 'valid' ) for group in groups : n_filters = group [ 'n_filters' ] fmap = group [ 'fmap' ] x = self . expand_group ( x , fmap , n_filters ) return x
Construct Expansive Path (rightside)
x      : input tensor to expansive path
groups : expansive  path groups
Construct Expansive Path ( rightside ) x : input tensor to expansive path groups : expansive path groups
""" Construct Expansive Path (rightside)
            x      : input tensor to expansive path
            groups : expansive  path groups
        """ # Input to expansive path  # Add each group on expansive path
self
x