1a9adc39fa073de40aa19cf134a35bb55f2d1658,dlpy/layers.py,Conv2d,__init__,#Conv2d#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,498

Before Change


        if not __dev__ and len(kwargs) > 0:
            raise DLPyError("**kwargs can be used only in development mode.")

        parameters = locals()
        if width is None and height is None:
            parameters["width"] = 3
            parameters["height"] = 3
        elif width is None:
            parameters["width"] = height
        elif height is None:

After Change


                 stride_vertical = None, padding = None, padding_width = None, padding_height = None, act = "relu",
                 fcmp_act = None, init = None, std = None, mean = None, truncation_factor = None, init_bias = None,
                 dropout = None, include_bias = True, src_layers = None, **kwargs):
        super(Conv2d, self).__init__(n_filters=n_filters, width=width, height=height, stride=stride, name=name,
                                     stride_horizontal=stride_horizontal, stride_vertical=stride_vertical,
                                     padding=padding, padding_width=padding_width, padding_height=padding_height,
                                     act=act, fcmp_act=fcmp_act, init=init, std=std, mean=mean,
                                     truncation_factor=truncation_factor, init_bias=init_bias, dropout=dropout,
                                     include_bias=include_bias, src_layers=src_layers, **kwargs)

    @property
    def output_size(self):
        if self._output_size is None:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: sassoftware/python-dlpy
Commit Name: 1a9adc39fa073de40aa19cf134a35bb55f2d1658
Time: 2019-04-24
Author: wenyu.shi@sas.com
File Name: dlpy/layers.py
Class Name: Conv2d
Method Name: __init__


Project Name: sassoftware/python-dlpy
Commit Name: f4001171bc0e65b736ceb55579fbacfcc64c4e85
Time: 2019-04-24
Author: wenyu.shi@sas.com
File Name: dlpy/layers.py
Class Name: Conv2d
Method Name: __init__


Project Name: tensorflow/cleverhans
Commit Name: b91c0905bff8c1184286eb6ba3161a88ac2a0475
Time: 2018-08-30
Author: goodfellow@google.com
File Name: cleverhans/dataset.py
Class Name: CIFAR10
Method Name: __init__