b6437e4dd115c5b290eb84b0620610b497293609,models/official/detection/serving/inputs.py,,raw_image_tensor_input,#,59
Before Change
tf.constant([1.0, 1.0], dtype=tf.float32),
tf.constant([0.0, 0.0], dtype=tf.float32)])
if batch_size == 1:
images_info = tf.expand_dims(image_info_per_image, axis=0)
else:
images_info = tf.tile(
tf.expand_dims(image_info_per_image, axis=0), [batch_size, 1, 1])
After Change
images_info = tf.constant([image_info_per_image], dtype=tf.float32)
else:
images_info = tf.constant(
[image_info_per_image for _ in range(batch_size)],
dtype=tf.float32)
images = placeholder
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: tensorflow/tpu
Commit Name: b6437e4dd115c5b290eb84b0620610b497293609
Time: 2020-05-12
Author: pengchong@google.com
File Name: models/official/detection/serving/inputs.py
Class Name:
Method Name: raw_image_tensor_input
Project Name: kundajelab/dragonn
Commit Name: 530367b89414bf6570a2e1a70bc9fa71035274bc
Time: 2019-07-10
Author: annashcherbina@gmail.com
File Name: dragonn/interpret/ism.py
Class Name:
Method Name: in_silico_mutagenesis
Project Name: kevinzakka/recurrent-visual-attention
Commit Name: 520e8fb57b890a7249334d9e90c9ad209d0b849f
Time: 2018-02-10
Author: kevinarmandzakka@gmail.com
File Name: modules.py
Class Name: retina
Method Name: foveate