dee5b826fc271cab049319f52883d37177c65080,tensorflow_transform/coders/example_proto_coder_test.py,,_binary_to_example,#Any#,166

Before Change


def _binary_to_example(serialized_proto):
  example = tf.train.Example()
  example.MergeFromString(serialized_proto)
  return example


class ExampleProtoCoderTest(test_case.TransformTestCase):

After Change




def _binary_to_example(serialized_proto):
  return tf.train.Example.FromString(serialized_proto)


class ExampleProtoCoderTest(test_case.TransformTestCase):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: tensorflow/transform
Commit Name: dee5b826fc271cab049319f52883d37177c65080
Time: 2018-12-17
Author: tf-transform-dev@google.com
File Name: tensorflow_transform/coders/example_proto_coder_test.py
Class Name:
Method Name: _binary_to_example


Project Name: ray-project/ray
Commit Name: 765d470c409dec3f599858b6a8ec7199eb8f2fa8
Time: 2020-05-25
Author: 869218239a@zju.edu.cn
File Name: python/ray/state.py
Class Name: GlobalState
Method Name: object_table


Project Name: ray-project/ray
Commit Name: 35eeec5647b378a980c3e7051ce87a9649c7bb95
Time: 2020-05-29
Author: 869218239a@zju.edu.cn
File Name: python/ray/state.py
Class Name: GlobalState
Method Name: actor_table