af7623b1f7dfb4ce57fd10895f378c6825f8c8c5,holodeck/environments.py,HolodeckEnvironment,__init__,#HolodeckEnvironment#Any#Any#Any#Any#Any#Any#Any#Any#,57

Before Change


                raise HolodeckException("Unknown platform: " + os.name)

        // Set up the agents
        self._agent_definitions = [agent_definitions] if isinstance(agent_definitions, list) else agent_definitions
        self._client = ShmemClient(self._uuid)
        self._all_agents = self._prepare_agents(agent_definitions)
        self._agent = self._all_agents[0]
        self._agent_dict = {x.name: x for x in self._all_agents}

After Change


        self._sensor_map = dict()
        self._all_agents = list()
        self._agent_dict = dict()
        self._hyperparameters_map = dict()
        self._add_agents(agent_definitions)
        self._agent = self._all_agents[0]

        // Set the default state function
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 5

Instances


Project Name: BYU-PCCL/holodeck
Commit Name: af7623b1f7dfb4ce57fd10895f378c6825f8c8c5
Time: 2018-04-26
Author: 32994869+mitchneutron@users.noreply.github.com
File Name: holodeck/environments.py
Class Name: HolodeckEnvironment
Method Name: __init__


Project Name: apache/incubator-mxnet
Commit Name: 93c123daee0241845c3e7f6452f91ab2d3d144c8
Time: 2020-02-12
Author: chai.bapat@gmail.com
File Name: benchmark/opperf/utils/ndarray_utils.py
Class Name:
Method Name: nd_forward_backward_and_profile


Project Name: analysiscenter/batchflow
Commit Name: 11c6bf1dbd051d087519ff771b39dac600c0d96d
Time: 2019-07-29
Author: 7520522+a-arefina@users.noreply.github.com
File Name: batchflow/models/tf/encoder_decoder.py
Class Name: EncoderDecoder
Method Name: head


Project Name: arraiy/torchgeometry
Commit Name: 6ee3f1b0d2a6ebadc9e2f664354594342ab0805d
Time: 2020-11-21
Author: justanhduc@users.noreply.github.com
File Name: kornia/augmentation/augmentation.py
Class Name: RandomErasing
Method Name: __init__


Project Name: tensorlayer/tensorlayer
Commit Name: 741ad9fb33a98023d76c6b962ae77183745d4ffa
Time: 2019-01-17
Author: jingqing.zhang15@imperial.ac.uk
File Name: tensorlayer/models/core.py
Class Name: Model
Method Name: __call__