eebe967339d4f6577e240b68ba87942d3af4dcc0,tensorflow/python/keras/layers/normalization.py,BatchNormalizationBase,build,#BatchNormalizationBase#Any#,294

Before Change


        if self.fused is None:
          self.fused = ndims in (4, 5)
        elif self.fused and ndims not in (4, 5):
          raise ValueError("Batch normalization layers with fused=True only "
                           "support 4D or 5D input tensors.")
      else:
        assert self.fused is not None
        self.fused = (ndims in (4, 5) and self._fused_can_be_used())
      // TODO(chrisying): fused batch norm is currently not supported for

After Change


          raise ValueError("Batch normalization layers with `fused=True` only "
                           "support 4D or 5D input tensors. "
                           "Received tensor with shape: %s" %
                           (tuple(input_shape),))
      else:
        assert self.fused is not None
        self.fused = (ndims in (4, 5) and self._fused_can_be_used())
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: tensorflow/tensorflow
Commit Name: eebe967339d4f6577e240b68ba87942d3af4dcc0
Time: 2020-11-16
Author: fchollet@google.com
File Name: tensorflow/python/keras/layers/normalization.py
Class Name: BatchNormalizationBase
Method Name: build


Project Name: mil-tokyo/webdnn
Commit Name: 37ada14728975dcb9fc971bf37ea1fb397e97716
Time: 2017-11-30
Author: y.kikura@gmail.com
File Name: src/graph_transpiler/webdnn/frontend/keras/layers/convolutional.py
Class Name:
Method Name: _convert_conv2d_transpose


Project Name: tensorflow/tensorflow
Commit Name: eebe967339d4f6577e240b68ba87942d3af4dcc0
Time: 2020-11-16
Author: fchollet@google.com
File Name: tensorflow/python/keras/layers/normalization.py
Class Name: BatchNormalizationBase
Method Name: build


Project Name: tryolabs/luminoth
Commit Name: fbcbb710c465da13ed6705fb8d904fe2795b246a
Time: 2018-02-08
Author: agustin@tryolabs.com
File Name: luminoth/models/base/truncated_base_network.py
Class Name: TruncatedBaseNetwork
Method Name: get_trainable_vars