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")
self._padding = _verify_padding(padding)
self._use_bias = use_bias
self.possible_keys = self.get_possible_initializer_keys(use_bias=use_bias)
self._initializers = util.check_initializers(
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")
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
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: deepmind/sonnet
Commit Name: b920570810fcf591f2bbb744ea67fb76f447de90
Time: 2018-01-08
Author: noreply@google.com
File Name: sonnet/python/modules/batch_norm.py
Class Name: BatchNorm
Method Name: _build
Project Name: deepmind/sonnet
Commit Name: 4e6f863acd500dc02e7c2a8e5a01566ac58930d9
Time: 2018-11-20
Author: noreply@google.com
File Name: sonnet/python/modules/conv.py
Class Name: CausalConv1D
Method Name: __init__