spikingjelly.activation_based.triton_kernel package#

备注

Developers should decide whether Triton backend is available by:

try:
    import triton
except ImportError:
    triton = None

if triton is not None:
    # Triton backend is available
    ...
else:
    # Triton backend is not available
    ...

MemoryModule encapsulates this logic.

Predefined Neuron Kernels#

FlexSN Implementation#

Torch-to-Triton Transpiler#

Spike Compressors#

Utilities#