fangwei123456 / spikingjelly

SpikingJelly is an open-source deep learning framework for Spiking Neural Network (SNN) based on PyTorch.
https://spikingjelly.readthedocs.io
Other
1.4k stars 246 forks source link

fix type hint (#569) #571

Closed frostylight closed 3 months ago

frostylight commented 3 months ago

569 将类型标注中type or None修正为Optional[type]type1 or type2修正为Union[type1, type2]

一些数学公式中缺少\,进行了修正

fangwei123456 commented 3 months ago

这部分工作量挺大的👍