363a36cd2bff6b45efe433c766448c66da1a82ef,official/vision/detection/modeling/architecture/heads.py,ShapemaskFinemaskHead,__call__,#ShapemaskFinemaskHead#Any#Any#Any#Any#,919

Before Change


    
    // Extract the foreground mean features
    // with tf.variable_scope("fine_mask", reuse=tf.AUTO_REUSE):
    with backend.get_graph().as_default(), tf.name_scope("fine_mask"):
      mask_probs = tf.nn.sigmoid(mask_logits)
      // Compute instance embedding for hard average.
      binary_mask = tf.cast(tf.greater(mask_probs, 0.5), features.dtype)

After Change


    
    // Extract the foreground mean features
    // with tf.variable_scope("fine_mask", reuse=tf.AUTO_REUSE):
    with keras_utils.maybe_enter_backend_graph(), tf.name_scope("fine_mask"):
      mask_probs = tf.nn.sigmoid(mask_logits)
      // Compute instance embedding for hard average.
      binary_mask = tf.cast(tf.greater(mask_probs, 0.5), features.dtype)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 26

Non-data size: 3

Instances


Project Name: tensorflow/models
Commit Name: 363a36cd2bff6b45efe433c766448c66da1a82ef
Time: 2020-07-20
Author: kaftan@google.com
File Name: official/vision/detection/modeling/architecture/heads.py
Class Name: ShapemaskFinemaskHead
Method Name: __call__


Project Name: tensorflow/models
Commit Name: ae8845ce790c3864c18a53dfc40eefb29d86b040
Time: 2020-07-20
Author: kaftan@google.com
File Name: official/vision/detection/modeling/architecture/resnet.py
Class Name: Resnet
Method Name: __call__


Project Name: tensorflow/models
Commit Name: 363a36cd2bff6b45efe433c766448c66da1a82ef
Time: 2020-07-20
Author: kaftan@google.com
File Name: official/vision/detection/modeling/architecture/heads.py
Class Name: ShapemaskCoarsemaskHead
Method Name: __call__


Project Name: tensorflow/models
Commit Name: 363a36cd2bff6b45efe433c766448c66da1a82ef
Time: 2020-07-20
Author: kaftan@google.com
File Name: official/vision/detection/modeling/architecture/heads.py
Class Name: RetinanetHead
Method Name: __call__


Project Name: tensorflow/models
Commit Name: 363a36cd2bff6b45efe433c766448c66da1a82ef
Time: 2020-07-20
Author: kaftan@google.com
File Name: official/vision/detection/modeling/architecture/spinenet.py
Class Name: SpineNetBuilder
Method Name: __call__


Project Name: tensorflow/models
Commit Name: 363a36cd2bff6b45efe433c766448c66da1a82ef
Time: 2020-07-20
Author: kaftan@google.com
File Name: official/vision/detection/modeling/maskrcnn_model.py
Class Name: MaskrcnnModel
Method Name: build_model


Project Name: tensorflow/models
Commit Name: 363a36cd2bff6b45efe433c766448c66da1a82ef
Time: 2020-07-20
Author: kaftan@google.com
File Name: official/vision/detection/modeling/retinanet_model.py
Class Name: RetinanetModel
Method Name: build_model


Project Name: tensorflow/models
Commit Name: ae8845ce790c3864c18a53dfc40eefb29d86b040
Time: 2020-07-20
Author: kaftan@google.com
File Name: official/vision/detection/modeling/retinanet_model.py
Class Name: RetinanetModel
Method Name: build_model


Project Name: tensorflow/models
Commit Name: ae8845ce790c3864c18a53dfc40eefb29d86b040
Time: 2020-07-20
Author: kaftan@google.com
File Name: official/vision/detection/modeling/architecture/heads.py
Class Name: FastrcnnHead
Method Name: __call__


Project Name: tensorflow/models
Commit Name: 363a36cd2bff6b45efe433c766448c66da1a82ef
Time: 2020-07-20
Author: kaftan@google.com
File Name: official/vision/detection/modeling/architecture/heads.py
Class Name: FastrcnnHead
Method Name: __call__


Project Name: tensorflow/models
Commit Name: ae8845ce790c3864c18a53dfc40eefb29d86b040
Time: 2020-07-20
Author: kaftan@google.com
File Name: official/vision/detection/modeling/maskrcnn_model.py
Class Name: MaskrcnnModel
Method Name: build_model


Project Name: tensorflow/models
Commit Name: ae8845ce790c3864c18a53dfc40eefb29d86b040
Time: 2020-07-20
Author: kaftan@google.com
File Name: official/vision/detection/modeling/architecture/heads.py
Class Name: RpnHead
Method Name: __call__


Project Name: tensorflow/models
Commit Name: ae8845ce790c3864c18a53dfc40eefb29d86b040
Time: 2020-07-20
Author: kaftan@google.com
File Name: official/vision/detection/modeling/architecture/heads.py
Class Name: MaskrcnnHead
Method Name: __call__


Project Name: tensorflow/models
Commit Name: ae8845ce790c3864c18a53dfc40eefb29d86b040
Time: 2020-07-20
Author: kaftan@google.com
File Name: official/vision/detection/modeling/architecture/fpn.py
Class Name: Fpn
Method Name: __call__


Project Name: tensorflow/models
Commit Name: ae8845ce790c3864c18a53dfc40eefb29d86b040
Time: 2020-07-20
Author: kaftan@google.com
File Name: official/vision/detection/modeling/architecture/spinenet.py
Class Name: SpineNetBuilder
Method Name: __call__


Project Name: tensorflow/models
Commit Name: ae8845ce790c3864c18a53dfc40eefb29d86b040
Time: 2020-07-20
Author: kaftan@google.com
File Name: official/vision/detection/modeling/architecture/heads.py
Class Name: ShapemaskCoarsemaskHead
Method Name: __call__


Project Name: tensorflow/models
Commit Name: 363a36cd2bff6b45efe433c766448c66da1a82ef
Time: 2020-07-20
Author: kaftan@google.com
File Name: official/vision/detection/modeling/architecture/heads.py
Class Name: ShapemaskPriorHead
Method Name: __call__


Project Name: tensorflow/models
Commit Name: 363a36cd2bff6b45efe433c766448c66da1a82ef
Time: 2020-07-20
Author: kaftan@google.com
File Name: official/vision/detection/modeling/architecture/resnet.py
Class Name: Resnet
Method Name: __call__


Project Name: tensorflow/models
Commit Name: 363a36cd2bff6b45efe433c766448c66da1a82ef
Time: 2020-07-20
Author: kaftan@google.com
File Name: official/vision/detection/modeling/architecture/heads.py
Class Name: MaskrcnnHead
Method Name: __call__


Project Name: tensorflow/models
Commit Name: ae8845ce790c3864c18a53dfc40eefb29d86b040
Time: 2020-07-20
Author: kaftan@google.com
File Name: official/vision/detection/modeling/architecture/heads.py
Class Name: ShapemaskPriorHead
Method Name: __call__


Project Name: tensorflow/models
Commit Name: 363a36cd2bff6b45efe433c766448c66da1a82ef
Time: 2020-07-20
Author: kaftan@google.com
File Name: official/vision/detection/modeling/architecture/fpn.py
Class Name: Fpn
Method Name: __call__


Project Name: tensorflow/models
Commit Name: ae8845ce790c3864c18a53dfc40eefb29d86b040
Time: 2020-07-20
Author: kaftan@google.com
File Name: official/vision/detection/modeling/shapemask_model.py
Class Name: ShapeMaskModel
Method Name: build_model


Project Name: tensorflow/models
Commit Name: 363a36cd2bff6b45efe433c766448c66da1a82ef
Time: 2020-07-20
Author: kaftan@google.com
File Name: official/vision/detection/modeling/architecture/heads.py
Class Name: RpnHead
Method Name: __call__


Project Name: tensorflow/models
Commit Name: ae8845ce790c3864c18a53dfc40eefb29d86b040
Time: 2020-07-20
Author: kaftan@google.com
File Name: official/vision/detection/modeling/architecture/heads.py
Class Name: RetinanetHead
Method Name: __call__


Project Name: tensorflow/models
Commit Name: ae8845ce790c3864c18a53dfc40eefb29d86b040
Time: 2020-07-20
Author: kaftan@google.com
File Name: official/vision/detection/modeling/architecture/heads.py
Class Name: ShapemaskFinemaskHead
Method Name: __call__


Project Name: tensorflow/models
Commit Name: 363a36cd2bff6b45efe433c766448c66da1a82ef
Time: 2020-07-20
Author: kaftan@google.com
File Name: official/vision/detection/modeling/shapemask_model.py
Class Name: ShapeMaskModel
Method Name: build_model