df93c4e61e7ca1db25f1ee346ac0516685498b02,keras_rcnn/backend/tensorflow_backend.py,,bbox_transform_inv,#Any#Any#,12
Before Change
def bbox_transform_inv(shifted, boxes):
if boxes.shape[0] == 0:
return keras.backend.zeros((0, boxes.shape[1]), dtype=boxes.dtype)
a = shifted[:, 2] - shifted[:, 0] + 1.0
b = shifted[:, 3] - shifted[:, 1] + 1.0
ctr_x = shifted[:, 0] + 0.5 * a
After Change
return keras.backend.concatenate(prediction)
zero_boxes = keras.backend.equal(keras.backend.shape(boxes)[0], 0)
pred_boxes = tensorflow.cond(zero_boxes, shape_zero, shape_non_zero)
return pred_boxes
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: broadinstitute/keras-rcnn
Commit Name: df93c4e61e7ca1db25f1ee346ac0516685498b02
Time: 2017-08-15
Author: allen.goodman@icloud.com
File Name: keras_rcnn/backend/tensorflow_backend.py
Class Name:
Method Name: bbox_transform_inv
Project Name: marcoancona/DeepExplain
Commit Name: 2fe1f942de95b3fe11acb4881c8f18f65d73bd8e
Time: 2017-11-03
Author: marco.ancona@inf.ethz.ch
File Name: deepexplain/tensorflow/methods.py
Class Name:
Method Name: deepexplain_grad
Project Name: IndicoDataSolutions/finetune
Commit Name: dd70d3652d2ef6ea57618d08ee070e8642c08b9d
Time: 2019-06-07
Author: madison@indico.io
File Name: finetune/nn/target_blocks.py
Class Name:
Method Name: sequence_labeler