3fd34cef72eb7f7f38c0ddcabe2f0d4b85669cbc,nn_dataflow/LoopBlockingScheme.py,LoopBlockingScheme,verify_fetch,#LoopBlockingScheme#,508

Before Change


                     (oidx, bidx), bl_cnt_list[self.BL.GBUF][de.OFM])

            // REGF.
            _replace(regf_data, regf_access, de.FIL,
                     (iidx, oidx), bl_cnt_list[self.BL.REGF][de.FIL])
            _replace(regf_data, regf_access, de.IFM,
                     (iidx, bidx), bl_cnt_list[self.BL.REGF][de.IFM])
            _replace(regf_data, regf_access, de.OFM,
                     (oidx, bidx), bl_cnt_list[self.BL.REGF][de.OFM])

After Change



        for iidx, oidx, bidx in self.gen_index():

            for dce, idx_pr in zip([de.FIL, de.IFM, de.OFM],
                                   [(iidx, oidx), (iidx, bidx), (oidx, bidx)]):
                // REGF.
                if not _replace(regf_data, regf_access, dce, idx_pr,
                                (1, 1), bl_cnt_list[self.BL.REGF][dce]):
                    // GBUF.
                    _replace(gbuf_data, gbuf_access, dce, idx_pr,
                             bl_cnt_list[self.BL.REGF][dce],
                             bl_cnt_list[self.BL.GBUF][dce],
                             not self.stored_in_gbuf[dce])

        total_units = [0] * de.NUM
        total_units[de.FIL] = self.tip * self.top
        total_units[de.IFM] = self.tip * self.tbp
        total_units[de.OFM] = self.top * self.tbp
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: stanford-mast/nn_dataflow
Commit Name: 3fd34cef72eb7f7f38c0ddcabe2f0d4b85669cbc
Time: 2017-05-26
Author: mgao12@stanford.edu
File Name: nn_dataflow/LoopBlockingScheme.py
Class Name: LoopBlockingScheme
Method Name: verify_fetch


Project Name: stanford-mast/nn_dataflow
Commit Name: 017f69b0a392848fc5e518eda2603455eef07551
Time: 2018-07-16
Author: mgao12@stanford.edu
File Name: nn_dataflow/tests/pipeline_test/test_pipeline_segment.py
Class Name: TestPipelineSegment
Method Name: test_gen_constraint_ff_end


Project Name: etal/cnvkit
Commit Name: e58060450b608139fb488193e624534f40214622
Time: 2016-02-10
Author: eric.talevich@gmail.com
File Name: cnvlib/commands.py
Class Name:
Method Name: _cmd_import_theta


Project Name: nilmtk/nilmtk
Commit Name: 1176c52ed5a1277a5cb979ae453bb951d1ea9116
Time: 2014-07-10
Author: jack-list@xlk.org.uk
File Name: nilmtk/metrics.py
Class Name:
Method Name: error_in_assigned_energy