e600cf64a4a25aad39c142f92417a3d435b55c92,bindsnet/pipeline/base_pipeline.py,BasePipeline,__init__,#BasePipeline#Any#,45

Before Change


        if self.plot_interval is not None:
            for l in self.network.layers:
                self.network.add_monitor(
                    Monitor(self.network.layers[l], "s", int(self.plot_length)),
                    name=f"{l}_spikes",
                )
                if "v" in self.network.layers[l].__dict__:

After Change


                    Monitor(self.network.layers[l], "s", self.plot_config["data_length"]),
                    name=f"{l}_spikes",
                )
                if hasattr(self.network.layers[l], "v"):
                    self.network.add_monitor(
                        Monitor(self.network.layers[l], "v", self.plot_config["data_length"]),
                        name=f"{l}_voltages",
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: BindsNET/bindsnet
Commit Name: e600cf64a4a25aad39c142f92417a3d435b55c92
Time: 2019-06-03
Author: jessehagenaars@gmail.com
File Name: bindsnet/pipeline/base_pipeline.py
Class Name: BasePipeline
Method Name: __init__


Project Name: pymc-devs/pymc3
Commit Name: 8ddd6ff6c3268772152b008e5bb40cc54376e788
Time: 2013-04-14
Author: jsalvatier@gmail.com
File Name: pymc/sample.py
Class Name:
Method Name: sample


Project Name: keras-team/keras
Commit Name: cab77c8f23bf81eaa06aeeeb28a4da3b716f7bd7
Time: 2017-10-25
Author: julien.rebetez@gmail.com
File Name: keras/utils/layer_utils.py
Class Name:
Method Name: print_summary