4ddc9f2d806530ceb99a86a621075a4a9813df62,object_detection/exporter.py,,_encoded_image_string_tensor_input_placeholder,#,130

Before Change


                             name="encoded_image_string_tensor")
  image_tensor = tf.image.decode_image(image_str, channels=3)
  image_tensor.set_shape((None, None, 3))
  return tf.expand_dims(image_tensor, axis=0)


input_placeholder_fn_map = {
    "image_tensor": _image_tensor_input_placeholder,

After Change


                                         channels=3)
    image_tensor.set_shape((None, None, 3))
    return image_tensor
  return tf.map_fn(decode,
                   elems=batch_image_str_placeholder,
                   dtype=tf.uint8,
                   parallel_iterations=32,
                   back_prop=False)


input_placeholder_fn_map = {
    "image_tensor": _image_tensor_input_placeholder,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: tensorflow/models
Commit Name: 4ddc9f2d806530ceb99a86a621075a4a9813df62
Time: 2017-07-18
Author: derekjchow@gmail.com
File Name: object_detection/exporter.py
Class Name:
Method Name: _encoded_image_string_tensor_input_placeholder


Project Name: tensorflow/datasets
Commit Name: b9ac3d9f91197d14733024d464bd45061d40b0b1
Time: 2019-05-13
Author: epot@google.com
File Name: tensorflow_datasets/core/features/sequence_feature.py
Class Name: Sequence
Method Name: decode_example


Project Name: tensorflow/models
Commit Name: 4ddc9f2d806530ceb99a86a621075a4a9813df62
Time: 2017-07-18
Author: derekjchow@gmail.com
File Name: object_detection/exporter.py
Class Name:
Method Name: _tf_example_input_placeholder