0cbbbf8468781d1558431a22fd244ed143115588,models/official/detection/modeling/architecture/nn_ops.py,,pyramid_feature_fusion,#Any#Any#,536
Before Change
if l == target_level:
resampled_feats.append(pyramid_feats[l])
else:
target_size = pyramid_feats [l].shape.as_list()[1:3]
target_size[0] *= 2**(l - target_level)
target_size[1] *= 2**(l - target_level)
resampled_feat = tf.image.resize_bilinear(
After Change
target_size[0] *= 2**(l - target_level)
target_size[1] *= 2**(l - target_level)
// Casts feat to float32 so the resize_bilinear op can be run on TPU.
feat = tf.cast(feat, tf.float32)
feat = tf.image.resize_bilinear(
feat, size=target_size, align_corners=False)
// Casts it back to be compatible with the rest opetations.
feat = tf.cast(feat, pyramid_feats[l].dtype)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: tensorflow/tpu
Commit Name: 0cbbbf8468781d1558431a22fd244ed143115588
Time: 2020-04-15
Author: gardener@tensorflow.org
File Name: models/official/detection/modeling/architecture/nn_ops.py
Class Name:
Method Name: pyramid_feature_fusion
Project Name: onnx/onnx-tensorflow
Commit Name: c4fc047e7ec71daa6aa8f71e9cc2ee9e5a3768b6
Time: 2020-04-14
Author: sdmonov@us.ibm.com
File Name: onnx_tf/handlers/backend/split.py
Class Name: Split
Method Name: _common
Project Name: tensorflow/models
Commit Name: 130786019b6d38681b429c3544bbb5584e21f675
Time: 2020-08-05
Author: syiming@umich.edu
File Name: research/object_detection/meta_architectures/faster_rcnn_meta_arch.py
Class Name: FasterRCNNMetaArch
Method Name: _compute_second_stage_input_feature_maps