2021年1月30日

摘要: 相关源码:bindsnet/bindsnet/network/topology.py 1、AbstractConnection class AbstractConnection(ABC, Module): # language=rst """ Abstract base method for con 阅读全文
posted @ 2021-01-30 19:49 穷酸秀才大草包 阅读(187) 评论(0) 推荐(0)
摘要: 相关源码:bindsnet/bindsnet/network/network.py class Network(torch.nn.Module): # language=rst """ Central object of the ``bindsnet`` package. Responsible f 阅读全文
posted @ 2021-01-30 17:29 穷酸秀才大草包 阅读(296) 评论(0) 推荐(0)
摘要: 相关源码:bindsnet/bindsnet/environment/environment.py class GymEnvironment(Environment): # language=rst """ A wrapper around the OpenAI ``gym`` environmen 阅读全文
posted @ 2021-01-30 11:02 穷酸秀才大草包 阅读(186) 评论(0) 推荐(0)
摘要: 相关源码:bindsnet/bindsnet/learning/learning.py 1、LearningRule class LearningRule(ABC): # language=rst """ Abstract base class for learning rules. """ def 阅读全文
posted @ 2021-01-30 11:02 穷酸秀才大草包 阅读(420) 评论(0) 推荐(0)
摘要: 相关源码:bindsnet/bindsnet/pipeline/base_pipeline.py class BasePipeline: # language=rst """ A generic pipeline that handles high level functionality. """ 阅读全文
posted @ 2021-01-30 11:01 穷酸秀才大草包 阅读(182) 评论(0) 推荐(0)
摘要: 相关源码:bindsnet/bindsnet/pipeline/environment_pipeline.py SNN仿真时长:timesteps = int(time / network.dt) # 100 class EnvironmentPipeline(BasePipeline): # la 阅读全文
posted @ 2021-01-30 11:01 穷酸秀才大草包 阅读(132) 评论(0) 推荐(0)
摘要: 相关源码:bindsnet/bindsnet/encoding/encodings.py; 1、bernoulli def bernoulli( datum: torch.Tensor, time: Optional[int] = None, dt: float = 1.0, device="cpu 阅读全文
posted @ 2021-01-30 11:01 穷酸秀才大草包 阅读(474) 评论(0) 推荐(0)
摘要: 相关源码:bindsnet/bindsnet/network/nodes.py 1、Nodes class Nodes(torch.nn.Module): # language=rst """ Abstract base class for groups of neurons. """ def __ 阅读全文
posted @ 2021-01-30 11:00 穷酸秀才大草包 阅读(674) 评论(2) 推荐(0)

导航