MCPcopy Create free account
hub / github.com/BindsNET/bindsnet / NullEncoder

Class NullEncoder

bindsnet/encoding/encoders.py:21–34  ·  view source on GitHub ↗

Pass through of the datum that was input. .. note:: This is not a real spike encoder. Be careful with the usage of this class.

Source from the content-addressed store, hash-verified

19
20
21class NullEncoder(Encoder):
22 # language=rst
23 """
24 Pass through of the datum that was input.
25
26 .. note::
27 This is not a real spike encoder. Be careful with the usage of this class.
28 """
29
30 def __init__(self):
31 super().__init__()
32
33 def __call__(self, img):
34 return img
35
36
37class SingleEncoder(Encoder):

Callers 3

tensorboard.pyFile · 0.90
__init__Method · 0.90
__init__Method · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected