57e421b2ca0ac79f05f6b0b6ac13df3ffc47359a,tf_encrypted/keras/layers/relu.py,ReLU,__init__,#ReLU#Any#Any#Any#,26

Before Change


  def __init__(self, max_value=None, negative_slope=0, threshold=0, **kwargs):
    super(ReLU, self).__init__(**kwargs)

    if max_value:
      raise NotImplementedError(
          arg_not_impl_msg.format("max_value", "relu"),
      )

    if negative_slope != 0:
      raise NotImplementedError(
          arg_not_impl_msg.format("negative_slope", "relu"),
      )

    if threshold != 0:
      raise NotImplementedError(
          arg_not_impl_msg.format("threshold", "relu"),
      )

  def build(self, input_shape):
    self.built = True

  def call(self, inputs):

After Change



    // Not implemented arguments
    default_args_check(max_value, "max_value", "ReLU")
    default_args_check(negative_slope, "negative_slope", "ReLU")
    default_args_check(threshold, "threshold", "ReLU")

  def build(self, input_shape):
    self.built = True
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 14

Instances


Project Name: mortendahl/tf-encrypted
Commit Name: 57e421b2ca0ac79f05f6b0b6ac13df3ffc47359a
Time: 2019-06-25
Author: yann.dupis@gmail.com
File Name: tf_encrypted/keras/layers/relu.py
Class Name: ReLU
Method Name: __init__


Project Name: mortendahl/tf-encrypted
Commit Name: 57e421b2ca0ac79f05f6b0b6ac13df3ffc47359a
Time: 2019-06-25
Author: yann.dupis@gmail.com
File Name: tf_encrypted/keras/layers/relu.py
Class Name: ReLU
Method Name: __init__


Project Name: mortendahl/tf-encrypted
Commit Name: 57e421b2ca0ac79f05f6b0b6ac13df3ffc47359a
Time: 2019-06-25
Author: yann.dupis@gmail.com
File Name: tf_encrypted/keras/layers/dense.py
Class Name: Dense
Method Name: __init__


Project Name: mortendahl/tf-encrypted
Commit Name: 57e421b2ca0ac79f05f6b0b6ac13df3ffc47359a
Time: 2019-06-25
Author: yann.dupis@gmail.com
File Name: tf_encrypted/keras/layers/convolutional.py
Class Name: Conv2D
Method Name: __init__