dc09af160f9f04c13fd0764b2712176b83538182,sonnet/python/modules/conv.py,SeparableConv2D,__init__,#SeparableConv2D#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,2222

Before Change


    super(SeparableConv2D, self).__init__(custom_getter=custom_getter,
                                          name=name)

    if not isinstance(output_channels, numbers.Integral) or output_channels < 1:
      raise ValueError("output_channels (={}), must be integer >= 1".format(
          output_channels))
    self._output_channels = output_channels

    if (not isinstance(channel_multiplier, numbers.Integral) or
        channel_multiplier < 1):

After Change


    self._kernel_shape = _fill_and_verify_parameter_shape(kernel_shape, 2,
                                                          "kernel")

    if data_format not in SUPPORTED_DATA_FORMATS:
      raise ValueError("Invalid data_format {:s}. Allowed formats "
                       "{:s}".format(data_format, SUPPORTED_DATA_FORMATS))

    self._data_format = data_format

    // We want to support passing native strides akin to [1, m, n, 1]
    if isinstance(stride, collections.Iterable) and len(stride) == 4:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 7

Instances


Project Name: deepmind/sonnet
Commit Name: dc09af160f9f04c13fd0764b2712176b83538182
Time: 2017-11-09
Author: noreply@google.com
File Name: sonnet/python/modules/conv.py
Class Name: SeparableConv2D
Method Name: __init__


Project Name: nipy/dipy
Commit Name: 73c40d0d9ab37df1be31f06630e3371eed26a1a8
Time: 2019-12-19
Author: francois.m.rheault@usherbrooke
File Name: dipy/io/stateful_tractogram.py
Class Name: StatefulTractogram
Method Name: __init__


Project Name: automl/auto-sklearn
Commit Name: 2ff4087343924e1cb293afa9f7b7bbe700f58007
Time: 2017-04-05
Author: feurerm@informatik.uni-freiburg.de
File Name: autosklearn/data/xy_data_manager.py
Class Name: XYDataManager
Method Name: __init__