6096d22cbd933b764c8bf3197fe1f8e8722308c6,ilastik/applets/objectExtraction/opObjectExtraction.py,OpAdaptTimeListRoi,execute,#OpAdaptTimeListRoi#Any#Any#Any#Any#,197

Before Change


        result = {}
        for t in roi:
            start = [0] * len(taggedShape)
            stop = taggedShape.values()
            start[timeIndex] = t
            stop[timeIndex] = t + 1

            val = self.Input(start, stop).wait()

After Change


                  
            val = self.Input(start, stop).wait()
      
            for i, t in enumerate(time_range):
                result[t] = val[i]

        return result

    def propagateDirty(self, slot, subindex, roi):
        assert slot == self.Input
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: ilastik/ilastik
Commit Name: 6096d22cbd933b764c8bf3197fe1f8e8722308c6
Time: 2016-10-25
Author: jimmycc80@hotmail.com
File Name: ilastik/applets/objectExtraction/opObjectExtraction.py
Class Name: OpAdaptTimeListRoi
Method Name: execute


Project Name: dmlc/gluon-nlp
Commit Name: f19ace982075ea009af81f5e9f687cc2276f50ea
Time: 2020-01-20
Author: 50716238+MoisesHer@users.noreply.github.com
File Name: scripts/bert/fp16_utils.py
Class Name:
Method Name: grad_global_norm


Project Name: vacancy/Synchronized-BatchNorm-PyTorch
Commit Name: 3b47fa5cc3ffd0df6d5cd6b64de1d81b915453d8
Time: 2018-01-26
Author: maojiayuan@gmail.com
File Name: sync_batchnorm/sync_manager.py
Class Name: SyncManager
Method Name: collect