cf3e8847f191077bcf2d72b976ff0c5b2beaa2e7,deepmedic/neuralnet/blocks.py,ConvBlock,makeLayer,#ConvBlock#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,193

Before Change


        self._n_fms_out = n_fms_out
        
        // Apply all the straightforward operations on the input, such as BN, activation function, dropout, pooling        
        (inputToConvTrain, inputToConvVal, inputToConvTest) = self._processInputWithBnNonLinearityDropoutPooling(rng,
                                                                                        inputToLayerTrain,
                                                                                        inputToLayerVal,
                                                                                        inputToLayerTest,

After Change


            self._layers.append(self._bn_l)
        else : //Not using batch normalization
            //make the bias terms and apply them. Like the old days before BN"s own learnt bias terms.
            bias_l = dm_layers.BiasLayer(n_fms_in)
            self._layers.append(bias_l)
        
        //------------ Apply Activation/ non-linearity -----------
        act_l = dm_layers.get_act_layer(activationFunc, n_fms_in)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: Kamnitsask/deepmedic
Commit Name: cf3e8847f191077bcf2d72b976ff0c5b2beaa2e7
Time: 2020-01-09
Author: konstantinos.kamnitsas12@imperial.ac.uk
File Name: deepmedic/neuralnet/blocks.py
Class Name: ConvBlock
Method Name: makeLayer


Project Name: Kamnitsask/deepmedic
Commit Name: d317e22332d549184116872b5f6ea8066c66fa2f
Time: 2020-01-07
Author: konstantinos.kamnitsas12@imperial.ac.uk
File Name: deepmedic/neuralnet/layers.py
Class Name: ConvLayer
Method Name: _processInputWithBnNonLinearityDropoutPooling


Project Name: Kamnitsask/deepmedic
Commit Name: d317e22332d549184116872b5f6ea8066c66fa2f
Time: 2020-01-07
Author: konstantinos.kamnitsas12@imperial.ac.uk
File Name: deepmedic/neuralnet/layers.py
Class Name: SoftmaxLayer
Method Name: makeLayer