2665f09ab4159730c12ddbc3e643291f01234a80,niftynet/contrib/csv_reader/csv_reader.py,CSVReader,layer_op,#CSVReader#Any#Any#,32

Before Change


            else:
                return np.expand_dims(apply_expand_dims(x, n -1), -1)
        data = self.__labels[idx]
        label_dict = {"label": apply_expand_dims(np.expand_dims(np.array(data).astype(np.float32), 0), 4)}
        return idx, label_dict, None
    
    @property
    def shapes(self):

After Change


        data = self._labels[idx]
        while len(data.shape) < 4:
            data = np.expand_dims(data, -1)
        label_dict = {"label": data}
        // label_dict = {"label": apply_expand_dims(np.expand_dims(np.array(data).astype(np.float32), 0), 4)}
        return idx, label_dict, None
    
    @property
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: NifTK/NiftyNet
Commit Name: 2665f09ab4159730c12ddbc3e643291f01234a80
Time: 2018-08-11
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/contrib/csv_reader/csv_reader.py
Class Name: CSVReader
Method Name: layer_op


Project Name: NervanaSystems/coach
Commit Name: 39a28aba95b0d8eeb56f7a17b7dad140e601b591
Time: 2018-02-21
Author: zach.dwiel@intel.com
File Name: agents/value_optimization_agent.py
Class Name: ValueOptimizationAgent
Method Name: tf_input_state


Project Name: tryolabs/luminoth
Commit Name: 9087f87adf5983e10f5dcb88ed60b6b80ad367e8
Time: 2017-08-11
Author: gaston@Gastons-MacBook-Pro.local
File Name: luminoth/models/fasterrcnn/rpn_anchor_target_test.py
Class Name: RPNAnchorTargetTest
Method Name: setUp


Project Name: ray-project/ray
Commit Name: 7a78f4e95960bf8560b0547802f171e2b40e4f6b
Time: 2021-01-26
Author: zhisbug@users.noreply.github.com
File Name: python/ray/util/collective/collective_group/nccl_collective_group.py
Class Name: NCCLGroup
Method Name: __init__