a8eeb46f0f10ae97c82c09003b2319529b7ce4d3,nn_dataflow/tests/unit_test/test_partition_scheme.py,TestPartitionScheme,test_coordinate,#TestPartitionScheme#,129

Before Change



    def test_coordinate(self):
        """ Get coordinate. """
        nr1 = NodeRegion(origin=PhyDim2(0, 0), dim=self.ps1.dim(),
                         type=NodeRegion.PROC)
        nr2 = NodeRegion(origin=PhyDim2(0, 0), dim=self.ps2.dim(),
                         type=NodeRegion.PROC)

After Change



    def test_coordinate(self):
        """ Get coordinate. """
        for ps, nr in zip([self.ps1, self.ps2], [self.nr1, self.nr2]):

            coord_list = [ps.coordinate(nr, pidx) for pidx in ps.gen_pidx()]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 2

Instances


Project Name: stanford-mast/nn_dataflow
Commit Name: a8eeb46f0f10ae97c82c09003b2319529b7ce4d3
Time: 2017-08-21
Author: mgao12@stanford.edu
File Name: nn_dataflow/tests/unit_test/test_partition_scheme.py
Class Name: TestPartitionScheme
Method Name: test_coordinate


Project Name: stanford-mast/nn_dataflow
Commit Name: e775d7b952188ac451f97d7a876e94ff6cb80235
Time: 2018-07-10
Author: mgao12@stanford.edu
File Name: nn_dataflow/tests/unit_test/test_scheduling_condition.py
Class Name: TestSchedulingCondition
Method Name: setUp


Project Name: stanford-mast/nn_dataflow
Commit Name: 06c10924843cc8083f7b7acab4124210ad9426a1
Time: 2018-07-10
Author: mgao12@stanford.edu
File Name: nn_dataflow/tests/unit_test/test_partition_scheme.py
Class Name: TestPartitionScheme
Method Name: test_coordinate


Project Name: stanford-mast/nn_dataflow
Commit Name: e775d7b952188ac451f97d7a876e94ff6cb80235
Time: 2018-07-10
Author: mgao12@stanford.edu
File Name: nn_dataflow/tests/unit_test/test_scheduling_result.py
Class Name: TestSchedulingResult
Method Name: setUp