a73d3547b513b315d7ad804399d215a31b3381c0,sonnet/python/modules/conv.py,Conv3D,__init__,#Conv3D#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,2461

Before Change


      self._stride = _fill_and_verify_parameter_shape(stride, 3, "stride")
    self._rate = _fill_and_verify_parameter_shape(rate, 3, "rate")

    if any(x > 1 for x in self._stride) and any(x > 1 for x in self._rate):
      raise base.NotSupportedError(
          "Cannot have stride > 1 with rate > 1")

After Change


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

    if (not isinstance(channel_multiplier, numbers.Integral) or
        channel_multiplier < 1):
      raise ValueError("channel_multiplier (=%d), must be integer >= 1" %
                       channel_multiplier)
    self._channel_multiplier = channel_multiplier

    self._kernel_shape = _fill_and_verify_parameter_shape(kernel_shape, 2,
                                                          "kernel")
    // We want to support passing native strides akin to [1, m, n, 1]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: deepmind/sonnet
Commit Name: a73d3547b513b315d7ad804399d215a31b3381c0
Time: 2017-07-17
Author: tfgg@google.com
File Name: sonnet/python/modules/conv.py
Class Name: Conv3D
Method Name: __init__


Project Name: catalyst-team/catalyst
Commit Name: 021b07ba9751b9eb817e6b9e203612abf5a9ce18
Time: 2019-11-10
Author: alex.gaziev@gmail.com
File Name: catalyst/dl/experiment/config.py
Class Name: ConfigExperiment
Method Name: get_callbacks


Project Name: deepmipt/DeepPavlov
Commit Name: 0066f83bc6f9f3861119db2593c3007796d2056c
Time: 2018-08-30
Author: mary.vikhreva@gmail.com
File Name: deeppavlov/metrics/bleu.py
Class Name:
Method Name: bleu