684bb32cdf29382a4a4d1d3f2bacf4ddc9e3fdb0,python/ray/serialization.py,SerializationContext,deserialize_objects,#SerializationContext#Any#Any#,238
Before Change
data_metadata_pairs):
assert self.get_outer_object_ref() is None
self.set_outer_object_ref(object_ref)
results.append(
self._deserialize_object(data, metadata, object_ref))
// Must clear ObjectRef to not hold a reference.
self.set_outer_object_ref(None)
return results
After Change
assert self.get_outer_object_ref() is None
self.set_outer_object_ref(object_ref)
obj = None
try:
obj = self._deserialize_object(data, metadata, object_ref)
except Exception as e:
logger.exception(e)
obj = RaySystemError(e, traceback.format_exc())
results.append(obj)
// Must clear ObjectRef to not hold a reference.
self.set_outer_object_ref(None)
return results
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: ray-project/ray
Commit Name: 684bb32cdf29382a4a4d1d3f2bacf4ddc9e3fdb0
Time: 2021-02-16
Author: rkooo567@gmail.com
File Name: python/ray/serialization.py
Class Name: SerializationContext
Method Name: deserialize_objects
Project Name: NifTK/NiftyNet
Commit Name: 72e0907d7784f62157906818686da273ab6aa7ed
Time: 2018-09-11
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/contrib/segmentation_bf_aug/segmentation_application_bfaug.py
Class Name: SegmentationApplicationBFAug
Method Name: initialise_dataset_loader
Project Name: keras-team/keras
Commit Name: 82f9e2358c35c5bbff8714280174617ba29cf92b
Time: 2017-02-17
Author: francois.chollet@gmail.com
File Name: keras/engine/topology.py
Class Name:
Method Name: _collect_input_shape