synsense / sinabs

A deep learning library for spiking neural networks which is based on PyTorch, focuses on fast training and supports inference on neuromorphic hardware.
https://sinabs.readthedocs.io
GNU Affero General Public License v3.0
77 stars 8 forks source link

112 updating batch size of an instantiated model with squeeze layers #113

Closed sheiksadique closed 11 months ago

sheiksadique commented 11 months ago

Added method to update batch size and added docs

codecov[bot] commented 11 months ago

Codecov Report

All modified lines are covered by tests :white_check_mark:

Comparison is base (86f24ec) 90.00% compared to head (d2c64b0) 90.03%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #113 +/- ## =========================================== + Coverage 90.00% 90.03% +0.03% =========================================== Files 31 31 Lines 1240 1244 +4 =========================================== + Hits 1116 1120 +4 Misses 124 124 ``` | [Files](https://app.codecov.io/gh/synsense/sinabs/pull/113?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=synsense) | Coverage Δ | | |---|---|---| | [sinabs/\_\_init\_\_.py](https://app.codecov.io/gh/synsense/sinabs/pull/113?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=synsense#diff-c2luYWJzL19faW5pdF9fLnB5) | `100.00% <100.00%> (ø)` | | | [sinabs/utils.py](https://app.codecov.io/gh/synsense/sinabs/pull/113?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=synsense#diff-c2luYWJzL3V0aWxzLnB5) | `94.93% <100.00%> (+0.27%)` | :arrow_up: |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.