6d6f8612a0b12636269e3837c6bb27d2ff94e9d3,softlearning/samplers/remote_sampler.py,RemoteSampler,__getstate__,#RemoteSampler#,80

Before Change


        return diagnostics

    def __getstate__(self):
        state = self.__dict__.copy()
        del state["_remote_environment"]
        del state["_remote_path"]

        return state

    def __setstate__(self, state):

After Change


        return diagnostics

    def __getstate__(self):
        super_state = super(RemoteSampler, self).__getstate__()
        state = {
            key: value for key, value in super_state
            if key not in ("_remote_environment", "_remote_path")
        }

        return state

    def __setstate__(self, state):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 8

Instances


Project Name: rail-berkeley/softlearning
Commit Name: 6d6f8612a0b12636269e3837c6bb27d2ff94e9d3
Time: 2019-01-10
Author: henryee333@gmail.com
File Name: softlearning/samplers/remote_sampler.py
Class Name: RemoteSampler
Method Name: __getstate__


Project Name: rail-berkeley/softlearning
Commit Name: 6d6f8612a0b12636269e3837c6bb27d2ff94e9d3
Time: 2019-01-10
Author: henryee333@gmail.com
File Name: softlearning/samplers/remote_sampler.py
Class Name: RemoteSampler
Method Name: __getstate__


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 78a4138657b22aed8d47558ffe8fb7fa380ff917
Time: 2021-03-23
Author: tohaowu@google.com
File Name: perfkitbenchmarker/linux_benchmarks/nccl_benchmark.py
Class Name:
Method Name: Run


Project Name: deepmipt/DeepPavlov
Commit Name: 0a01df9bdc0bd142eff95a1c878947047194d617
Time: 2018-03-16
Author: ol.gure@gmail.com
File Name: deeppavlov/core/commands/train.py
Class Name:
Method Name: train_model_from_config