7452c3bb197889a3e04005ce5bcf0e81b84e1e63,tensorflow_hub/feature_column.py,_ImageEmbeddingColumn,_parse_example_spec,#_ImageEmbeddingColumn#,265

Before Change


  def _parse_example_spec(self):
    Returns a `tf.Example` parsing spec as dict.
    height, width = image_util.get_expected_image_size(self.module_spec)
    input_shape = [height, width, 3]
    return {self.key: tf_v1.FixedLenFeature(input_shape, tf.float32)}

  @property
  def _variable_shape(self):
    `TensorShape` of `_get_dense_tensor`, without batch dimension.

After Change


  @property
  def _parse_example_spec(self):
    Returns a `tf.Example` parsing spec as dict.
    return self.parse_example_spec

  @property
  def parse_example_spec(self):
    Returns a `tf.Example` parsing spec as dict.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: tensorflow/hub
Commit Name: 7452c3bb197889a3e04005ce5bcf0e81b84e1e63
Time: 2019-05-22
Author: no-reply@google.com
File Name: tensorflow_hub/feature_column.py
Class Name: _ImageEmbeddingColumn
Method Name: _parse_example_spec


Project Name: MaybeShewill-CV/CRNN_Tensorflow
Commit Name: 88b164b98c209ea8e2afbfae93a01b9aacd8b0ab
Time: 2018-09-28
Author: debenito@unternehmertum.de
File Name: local_utils/data_utils.py
Class Name: TextFeatureReader
Method Name: read_features


Project Name: tensorflow/hub
Commit Name: 7452c3bb197889a3e04005ce5bcf0e81b84e1e63
Time: 2019-05-22
Author: no-reply@google.com
File Name: tensorflow_hub/feature_column.py
Class Name: _TextEmbeddingColumn
Method Name: _parse_example_spec