b9ac3d9f91197d14733024d464bd45061d40b0b1,tensorflow_datasets/core/features/sequence_feature.py,Sequence,get_tensor_info,#Sequence#,243

Before Change


    self.__dict__.update(state)

  def get_tensor_info(self):
    return self._seq_feature.get_tensor_info()["inner"]

  def get_serialized_info(self):
    return self._seq_feature.get_serialized_info()["inner"]

After Change


      )

    tensor_info = self._feature.get_tensor_info()
    return utils.map_nested(add_length_dim, tensor_info)

  def get_serialized_info(self):
    See base class for details.
    // Add the additional length dimension to every serialized features
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


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: get_tensor_info


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: get_serialized_info


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: encode_example