Pass through of the datum that was input. .. note:: This is not a real spike encoder. Be careful with the usage of this class.
| 19 | |
| 20 | |
| 21 | class 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 | |
| 37 | class SingleEncoder(Encoder): |
no outgoing calls
no test coverage detected