spikingjelly 2.0.0.dev0__tar.gz → 2.0.0.dev2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- spikingjelly-2.0.0.dev2/LICENSES/README.md +91 -0
- spikingjelly-2.0.0.dev2/LICENSES/translations/LICENSE.de +160 -0
- spikingjelly-2.0.0.dev2/LICENSES/translations/LICENSE.en +142 -0
- spikingjelly-2.0.0.dev2/LICENSES/translations/LICENSE.fr +157 -0
- spikingjelly-2.0.0.dev2/LICENSES/translations/LICENSE.hi +141 -0
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/PKG-INFO +25 -6
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/README.md +11 -1
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/pyproject.toml +37 -5
- spikingjelly-2.0.0.dev2/spikingjelly/__init__.py +7 -0
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/ann2snn/__init__.py +20 -17
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/ann2snn/converter.py +69 -29
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/ann2snn/delay.py +52 -47
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/ann2snn/examples/bert_sst2_transformer_td_equivalent.py +4 -2
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/ann2snn/examples/cnn_mnist.py +15 -19
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/ann2snn/examples/imagenet_resnet18_ltb.py +2 -18
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/ann2snn/examples/resnet18_cifar10.py +2 -5
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/ann2snn/modules.py +9 -67
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/ann2snn/operators.py +562 -161
- spikingjelly-2.0.0.dev2/spikingjelly/activation_based/ann2snn/qcfs.py +458 -0
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/ann2snn/recipes/__init__.py +12 -0
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/ann2snn/recipes/base.py +39 -0
- spikingjelly-2.0.0.dev2/spikingjelly/activation_based/ann2snn/recipes/local_threshold_balancing.py +325 -0
- spikingjelly-2.0.0.dev2/spikingjelly/activation_based/ann2snn/recipes/qwen2.py +1360 -0
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/ann2snn/recipes/rate_coding.py +338 -403
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/ann2snn/recipes/spikezip_qann.py +313 -325
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/ann2snn/recipes/sta_transformer.py +88 -552
- spikingjelly-2.0.0.dev2/spikingjelly/activation_based/ann2snn/recipes/step_mode_adapters.py +636 -0
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/ann2snn/recipes/transformer_td_equivalent.py +37 -65
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/ann2snn/sample_models/cifar10_resnet.py +6 -6
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/ann2snn/utils.py +34 -1
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/base.py +433 -93
- spikingjelly-2.0.0.dev2/spikingjelly/activation_based/cuda_kernel/__init__.py +38 -0
- spikingjelly-2.0.0.dev2/spikingjelly/activation_based/cuda_kernel/auto_cuda/__init__.py +1 -0
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/cuda_kernel/auto_cuda/base.py +31 -54
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/cuda_kernel/auto_cuda/cfunction.py +14 -7
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/cuda_kernel/auto_cuda/generator.py +23 -19
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/cuda_kernel/cuda_utils.py +60 -151
- spikingjelly-2.0.0.dev2/spikingjelly/activation_based/cuda_kernel/neuron_kernel/__init__.py +1 -0
- spikingjelly-2.0.0.dev2/spikingjelly/activation_based/cuda_kernel/neuron_kernel/cuda_code.py +27 -0
- spikingjelly-2.0.0.dev2/spikingjelly/activation_based/cuda_kernel/neuron_kernel/multi_step/__init__.py +21 -0
- spikingjelly-2.0.0.dev0/spikingjelly/activation_based/cuda_kernel/auto_cuda/neuron_kernel/common.py → spikingjelly-2.0.0.dev2/spikingjelly/activation_based/cuda_kernel/neuron_kernel/multi_step/base.py +25 -178
- {spikingjelly-2.0.0.dev0/spikingjelly/activation_based/cuda_kernel/neuron_kernel → spikingjelly-2.0.0.dev2/spikingjelly/activation_based/cuda_kernel/neuron_kernel/multi_step}/eif.py +40 -190
- {spikingjelly-2.0.0.dev0/spikingjelly/activation_based/cuda_kernel/auto_cuda/neuron_kernel → spikingjelly-2.0.0.dev2/spikingjelly/activation_based/cuda_kernel/neuron_kernel/multi_step}/integrate_and_fire.py +26 -37
- {spikingjelly-2.0.0.dev0/spikingjelly/activation_based/cuda_kernel/neuron_kernel → spikingjelly-2.0.0.dev2/spikingjelly/activation_based/cuda_kernel/neuron_kernel/multi_step}/izhikevich.py +113 -187
- {spikingjelly-2.0.0.dev0/spikingjelly/activation_based/cuda_kernel/auto_cuda/neuron_kernel → spikingjelly-2.0.0.dev2/spikingjelly/activation_based/cuda_kernel/neuron_kernel/multi_step}/lif.py +35 -49
- {spikingjelly-2.0.0.dev0/spikingjelly/activation_based/cuda_kernel/auto_cuda/neuron_kernel → spikingjelly-2.0.0.dev2/spikingjelly/activation_based/cuda_kernel/neuron_kernel/multi_step}/plif.py +33 -141
- {spikingjelly-2.0.0.dev0/spikingjelly/activation_based/cuda_kernel/neuron_kernel → spikingjelly-2.0.0.dev2/spikingjelly/activation_based/cuda_kernel/neuron_kernel/multi_step}/qif.py +40 -190
- spikingjelly-2.0.0.dev2/spikingjelly/activation_based/cuda_kernel/neuron_kernel/multi_step/runtime.py +84 -0
- spikingjelly-2.0.0.dev2/spikingjelly/activation_based/cuda_kernel/neuron_kernel/single_step/__init__.py +1 -0
- spikingjelly-2.0.0.dev2/spikingjelly/activation_based/cuda_kernel/neuron_kernel/single_step/base.py +254 -0
- {spikingjelly-2.0.0.dev0/spikingjelly/activation_based/cuda_kernel/auto_cuda/ss_neuron_kernel → spikingjelly-2.0.0.dev2/spikingjelly/activation_based/cuda_kernel/neuron_kernel/single_step}/integrate_and_fire.py +79 -36
- {spikingjelly-2.0.0.dev0/spikingjelly/activation_based/cuda_kernel/auto_cuda/ss_neuron_kernel → spikingjelly-2.0.0.dev2/spikingjelly/activation_based/cuda_kernel/neuron_kernel/single_step}/lif.py +89 -37
- spikingjelly-2.0.0.dev2/spikingjelly/activation_based/cuda_kernel/neuron_kernel/surrogate_registry.py +44 -0
- spikingjelly-2.0.0.dev2/spikingjelly/activation_based/cuda_kernel/neuron_linear.py +708 -0
- spikingjelly-2.0.0.dev2/spikingjelly/activation_based/cuda_kernel/spike_linear.py +933 -0
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/cuda_kernel/spike_op.py +23 -11
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/cuda_kernel/tensor_cache.py +23 -24
- spikingjelly-2.0.0.dev2/spikingjelly/activation_based/distributed/__init__.py +25 -0
- spikingjelly-2.0.0.dev2/spikingjelly/activation_based/distributed/llm/__init__.py +20 -0
- spikingjelly-2.0.0.dev2/spikingjelly/activation_based/distributed/llm/checkpoint.py +239 -0
- spikingjelly-2.0.0.dev2/spikingjelly/activation_based/distributed/llm/config.py +332 -0
- spikingjelly-2.0.0.dev2/spikingjelly/activation_based/distributed/llm/inference.py +276 -0
- spikingjelly-2.0.0.dev2/spikingjelly/activation_based/distributed/llm/planning.py +334 -0
- spikingjelly-2.0.0.dev2/spikingjelly/activation_based/distributed/llm/temporal.py +146 -0
- spikingjelly-2.0.0.dev2/spikingjelly/activation_based/distributed/llm/training.py +526 -0
- spikingjelly-2.0.0.dev2/spikingjelly/activation_based/distributed/tensor_parallel/__init__.py +22 -0
- spikingjelly-2.0.0.dev2/spikingjelly/activation_based/distributed/tensor_parallel/channel.py +436 -0
- spikingjelly-2.0.0.dev2/spikingjelly/activation_based/distributed/vision/__init__.py +25 -0
- spikingjelly-2.0.0.dev2/spikingjelly/activation_based/distributed/vision/config.py +396 -0
- spikingjelly-2.0.0.dev2/spikingjelly/activation_based/distributed/vision/sew_resnet.py +221 -0
- spikingjelly-2.0.0.dev2/spikingjelly/activation_based/distributed/vision/spikformer.py +404 -0
- spikingjelly-2.0.0.dev2/spikingjelly/activation_based/distributed/vision/training.py +1029 -0
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/encoding.py +51 -93
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/examples/A2C.py +1 -2
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/examples/DQN_state.py +3 -6
- spikingjelly-2.0.0.dev2/spikingjelly/activation_based/examples/DSQN/ptan/__init__.py +3 -0
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/examples/DSQN/ptan/actions.py +0 -37
- spikingjelly-2.0.0.dev2/spikingjelly/activation_based/examples/DSQN/ptan/agent.py +115 -0
- spikingjelly-2.0.0.dev2/spikingjelly/activation_based/examples/DSQN/ptan/experience.py +265 -0
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/examples/DSQN/train.py +3 -4
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/examples/DSQN/utils/common.py +4 -4
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/examples/PPO.py +1 -1
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/examples/Spiking_A2C.py +6 -32
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/examples/Spiking_DQN_state.py +10 -31
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/examples/Spiking_PPO.py +6 -31
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/examples/cifar10_r11_enabling_spikebased_backpropagation.py +2 -4
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/examples/classify_dvsg.py +1 -3
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/examples/common/multiprocessing_env.py +0 -4
- {spikingjelly-2.0.0.dev0/spikingjelly/activation_based/model → spikingjelly-2.0.0.dev2/spikingjelly/activation_based/examples/common}/train_classify.py +120 -183
- {spikingjelly-2.0.0.dev0/spikingjelly/activation_based/model → spikingjelly-2.0.0.dev2/spikingjelly/activation_based/examples/common}/tv_ref_classify/utils.py +53 -233
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/examples/conv_fashion_mnist.py +1 -3
- {spikingjelly-2.0.0.dev0/spikingjelly/activation_based/examples/ILC-SAN → spikingjelly-2.0.0.dev2/spikingjelly/activation_based/examples/ilc_san}/core_cuda.py +0 -4
- {spikingjelly-2.0.0.dev0/spikingjelly/activation_based/examples/ILC-SAN → spikingjelly-2.0.0.dev2/spikingjelly/activation_based/examples/ilc_san}/hybrid_td3_cuda_norm.py +3 -11
- {spikingjelly-2.0.0.dev0/spikingjelly/activation_based/examples/ILC-SAN → spikingjelly-2.0.0.dev2/spikingjelly/activation_based/examples/ilc_san}/test_hybrid_td3_cpu.py +1 -1
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/examples/lava_mnist.py +1 -1
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/examples/lif_fc_mnist.py +1 -3
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/examples/memopt/loss.py +0 -9
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/examples/memopt/train.py +0 -1
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/examples/mstdp.py +0 -1
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/examples/mstdpet.py +0 -1
- {spikingjelly-2.0.0.dev0/spikingjelly/activation_based/examples/NoisySAN → spikingjelly-2.0.0.dev2/spikingjelly/activation_based/examples/noisy_san}/hybrid_td3_cuda_norm.py +3 -12
- spikingjelly-2.0.0.dev0/spikingjelly/activation_based/examples/NoisySAN/noisysan.py → spikingjelly-2.0.0.dev2/spikingjelly/activation_based/examples/noisy_san/noisy_san.py +22 -26
- {spikingjelly-2.0.0.dev0/spikingjelly/activation_based/examples/NoisySAN → spikingjelly-2.0.0.dev2/spikingjelly/activation_based/examples/noisy_san}/replay_buffer_norm.py +8 -17
- {spikingjelly-2.0.0.dev0/spikingjelly/activation_based/examples/NoisySAN → spikingjelly-2.0.0.dev2/spikingjelly/activation_based/examples/noisy_san}/test_hybrid_td3_cpu.py +1 -2
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/examples/rsnn_sequential_fmnist.py +1 -3
- spikingjelly-2.0.0.dev0/spikingjelly/activation_based/examples/speechcommands.py → spikingjelly-2.0.0.dev2/spikingjelly/activation_based/examples/speech_commands.py +3 -20
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/examples/spiking_lstm_sequential_mnist.py +1 -13
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/examples/spiking_lstm_text.py +1 -31
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/examples/stdp_trace.py +0 -1
- spikingjelly-2.0.0.dev0/spikingjelly/activation_based/model/train_flexsn_inductor_example.py → spikingjelly-2.0.0.dev2/spikingjelly/activation_based/examples/train_flexsn_compile.py +12 -31
- spikingjelly-2.0.0.dev0/spikingjelly/activation_based/model/train_imagenet_example.py → spikingjelly-2.0.0.dev2/spikingjelly/activation_based/examples/train_imagenet.py +7 -5
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/functional/__init__.py +3 -0
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/functional/conv_bn_fusion.py +24 -30
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/functional/forward.py +94 -72
- spikingjelly-2.0.0.dev2/spikingjelly/activation_based/functional/layer.py +200 -0
- spikingjelly-2.0.0.dev2/spikingjelly/activation_based/functional/learning.py +602 -0
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/functional/misc.py +11 -11
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/functional/net_config.py +53 -56
- spikingjelly-2.0.0.dev2/spikingjelly/activation_based/functional/neuron.py +3112 -0
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/functional/online_learning.py +46 -73
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/lava_exchange.py +116 -243
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/layer/attention.py +244 -88
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/layer/bn.py +43 -15
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/layer/container.py +67 -49
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/layer/dropout.py +75 -68
- spikingjelly-2.0.0.dev2/spikingjelly/activation_based/layer/misc.py +629 -0
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/layer/online_learning.py +25 -30
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/layer/stateless_wrapper.py +331 -208
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/learning.py +182 -232
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/lynxi_exchange.py +12 -24
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/memopt/checkpointing.py +61 -22
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/memopt/compress.py +4 -11
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/memopt/pipeline.py +95 -105
- spikingjelly-2.0.0.dev2/spikingjelly/activation_based/model/__init__.py +50 -0
- spikingjelly-2.0.0.dev2/spikingjelly/activation_based/model/maxformer.py +382 -0
- spikingjelly-2.0.0.dev2/spikingjelly/activation_based/model/ms_resnet.py +535 -0
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/model/parametric_lif_net.py +3 -77
- spikingjelly-2.0.0.dev2/spikingjelly/activation_based/model/qkformer.py +347 -0
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/model/sew_resnet.py +2 -2
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/model/snas_net.py +10 -41
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/model/spike_dhs.py +88 -87
- spikingjelly-2.0.0.dev2/spikingjelly/activation_based/model/spike_driven_transformer.py +291 -0
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/model/spikformer.py +63 -22
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/model/spiking_resnet.py +3 -3
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/model/spiking_vgg.py +6 -19
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/model/spiking_vggws_ottt.py +15 -36
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/monitor.py +76 -84
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/neuron/__init__.py +1 -0
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/neuron/adapt.py +87 -140
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/neuron/base_node.py +249 -204
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/neuron/dsr.py +35 -65
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/neuron/few_spike.py +58 -73
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/neuron/flexsn.py +351 -300
- spikingjelly-2.0.0.dev2/spikingjelly/activation_based/neuron/ilif.py +392 -0
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/neuron/integrate_and_fire.py +525 -376
- spikingjelly-2.0.0.dev2/spikingjelly/activation_based/neuron/lif.py +397 -0
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/neuron/lif_variants.py +174 -201
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/neuron/mpbn.py +152 -225
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/neuron/noisy.py +76 -175
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/neuron/nonlinear_if.py +113 -58
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/neuron/online_learning.py +61 -202
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/neuron/plif.py +73 -147
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/neuron/psn.py +55 -43
- spikingjelly-2.0.0.dev2/spikingjelly/activation_based/neuron/spikezip.py +223 -0
- spikingjelly-2.0.0.dev2/spikingjelly/activation_based/nir_exchange/from_nir.py +338 -0
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/nir_exchange/to_nir.py +151 -113
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/op_counter/__init__.py +2 -3
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/op_counter/ac.py +42 -47
- spikingjelly-2.0.0.dev2/spikingjelly/activation_based/op_counter/analytical_energy.py +787 -0
- spikingjelly-2.0.0.dev2/spikingjelly/activation_based/op_counter/base.py +1156 -0
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/op_counter/flop.py +52 -25
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/op_counter/mac.py +11 -17
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/op_counter/memory_access.py +59 -33
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/op_counter/neuromc/__init__.py +0 -4
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/op_counter/neuromc/config.py +25 -55
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/op_counter/neuromc/core.py +480 -416
- spikingjelly-2.0.0.dev2/spikingjelly/activation_based/op_counter/neuromc/utils.py +59 -0
- spikingjelly-2.0.0.dev2/spikingjelly/activation_based/op_counter/neuromorphic_memory_access.py +231 -0
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/op_counter/neuron_state.py +26 -6
- spikingjelly-2.0.0.dev2/spikingjelly/activation_based/op_counter/simple_energy.py +527 -0
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/op_counter/spikesim/__init__.py +3 -7
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/op_counter/spikesim/config.py +15 -0
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/op_counter/spikesim/core.py +115 -54
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/op_counter/spikesim/counter.py +15 -29
- spikingjelly-2.0.0.dev2/spikingjelly/activation_based/op_counter/synop.py +123 -0
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/precision/__init__.py +20 -0
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/precision/api.py +50 -7
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/precision/capability.py +167 -1
- spikingjelly-2.0.0.dev2/spikingjelly/activation_based/precision/config.py +46 -0
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/precision/convert.py +22 -2
- spikingjelly-2.0.0.dev2/spikingjelly/activation_based/precision/float8_attention.py +175 -0
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/precision/float8_base.py +24 -19
- spikingjelly-2.0.0.dev2/spikingjelly/activation_based/precision/float8_conv.py +128 -0
- spikingjelly-2.0.0.dev2/spikingjelly/activation_based/precision/float8_te.py +595 -0
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/precision/float8_torchao.py +19 -43
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/precision/policy.py +7 -14
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/precision/runtime.py +7 -8
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/profiler.py +63 -55
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/quantize.py +93 -205
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/rnn.py +119 -191
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/surrogate.py +135 -296
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/triton_kernel/compress.py +3 -3
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/triton_kernel/flexsn/__init__.py +4 -4
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/triton_kernel/flexsn/custom_ops.py +87 -88
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/triton_kernel/flexsn/hop.py +2 -2
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/triton_kernel/flexsn/kernel.py +4 -4
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/triton_kernel/flexsn/template.py +36 -63
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/triton_kernel/flexsn/wrapper.py +5 -6
- spikingjelly-2.0.0.dev2/spikingjelly/activation_based/triton_kernel/fp8_capability.py +412 -0
- spikingjelly-2.0.0.dev2/spikingjelly/activation_based/triton_kernel/neuron_kernel/__init__.py +15 -0
- spikingjelly-2.0.0.dev2/spikingjelly/activation_based/triton_kernel/neuron_kernel/activation_aware_if.py +281 -0
- spikingjelly-2.0.0.dev2/spikingjelly/activation_based/triton_kernel/neuron_kernel/ilif.py +724 -0
- spikingjelly-2.0.0.dev2/spikingjelly/activation_based/triton_kernel/neuron_kernel/integrate_and_fire.py +1225 -0
- spikingjelly-2.0.0.dev2/spikingjelly/activation_based/triton_kernel/neuron_kernel/lif.py +1333 -0
- spikingjelly-2.0.0.dev2/spikingjelly/activation_based/triton_kernel/neuron_kernel/plif.py +1337 -0
- spikingjelly-2.0.0.dev2/spikingjelly/activation_based/triton_kernel/neuron_kernel/stbif.py +470 -0
- spikingjelly-2.0.0.dev2/spikingjelly/activation_based/triton_kernel/neuron_kernel/utils.py +207 -0
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/triton_kernel/surrogate_kernel.py +3 -4
- spikingjelly-2.0.0.dev2/spikingjelly/activation_based/triton_kernel/torch2triton/__init__.py +9 -0
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/triton_kernel/torch2triton/graph2triton.py +14 -30
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/triton_kernel/torch2triton/torch2graph.py +4 -2
- spikingjelly-2.0.0.dev2/spikingjelly/activation_based/triton_kernel/triton_utils.py +458 -0
- spikingjelly-2.0.0.dev2/spikingjelly/configure.py +177 -0
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/datasets/asl_dvs.py +16 -14
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/datasets/base.py +160 -164
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/datasets/bullying10k.py +31 -28
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/datasets/cifar10_dvs.py +21 -22
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/datasets/dvs128_gesture.py +28 -23
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/datasets/dvs_lip.py +2 -1
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/datasets/es_imagenet.py +31 -195
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/datasets/hardvs.py +12 -9
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/datasets/n_caltech101.py +11 -12
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/datasets/n_mnist.py +12 -13
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/datasets/nav_gesture.py +43 -69
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/datasets/shd.py +97 -216
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/datasets/speechcommands.py +26 -45
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/datasets/utils.py +72 -447
- spikingjelly-2.0.0.dev2/spikingjelly/logger.py +38 -0
- spikingjelly-2.0.0.dev2/spikingjelly/timing_based/encoding.py +134 -0
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/timing_based/examples/tempotron_mnist.py +0 -3
- spikingjelly-2.0.0.dev2/spikingjelly/timing_based/neuron.py +192 -0
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly.egg-info/PKG-INFO +25 -6
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly.egg-info/SOURCES.txt +92 -74
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly.egg-info/requires.txt +17 -4
- spikingjelly-2.0.0.dev2/test/test_configure.py +127 -0
- spikingjelly-2.0.0.dev2/test/test_dataset_builders.py +295 -0
- spikingjelly-2.0.0.dev2/test/test_dataset_utils.py +197 -0
- spikingjelly-2.0.0.dev2/test/test_logging_policy.py +249 -0
- spikingjelly-2.0.0.dev0/LICENSES/translations/LICENSE.de +0 -62
- spikingjelly-2.0.0.dev0/LICENSES/translations/LICENSE.en +0 -64
- spikingjelly-2.0.0.dev0/LICENSES/translations/LICENSE.fr +0 -67
- spikingjelly-2.0.0.dev0/LICENSES/translations/LICENSE.hi +0 -69
- spikingjelly-2.0.0.dev0/spikingjelly/activation_based/ann2snn/factories.py +0 -243
- spikingjelly-2.0.0.dev0/spikingjelly/activation_based/ann2snn/recipes/local_threshold_balancing.py +0 -461
- spikingjelly-2.0.0.dev0/spikingjelly/activation_based/ann2snn/recipes/step_mode_adapters.py +0 -1255
- spikingjelly-2.0.0.dev0/spikingjelly/activation_based/ann2snn/rules.py +0 -380
- spikingjelly-2.0.0.dev0/spikingjelly/activation_based/ann2snn/threshold.py +0 -90
- spikingjelly-2.0.0.dev0/spikingjelly/activation_based/cuda_kernel/__init__.py +0 -42
- spikingjelly-2.0.0.dev0/spikingjelly/activation_based/cuda_kernel/auto_cuda/example.py +0 -35
- spikingjelly-2.0.0.dev0/spikingjelly/activation_based/cuda_kernel/auto_cuda/neuron_kernel/__init__.py +0 -4
- spikingjelly-2.0.0.dev0/spikingjelly/activation_based/cuda_kernel/auto_cuda/ss_neuron_kernel/__init__.py +0 -35
- spikingjelly-2.0.0.dev0/spikingjelly/activation_based/cuda_kernel/auto_cuda/ss_neuron_kernel/ss_neuron_kernel_base.py +0 -522
- spikingjelly-2.0.0.dev0/spikingjelly/activation_based/cuda_kernel/neuron_kernel/__init__.py +0 -37
- spikingjelly-2.0.0.dev0/spikingjelly/activation_based/cuda_kernel/neuron_kernel/common.py +0 -470
- spikingjelly-2.0.0.dev0/spikingjelly/activation_based/cuda_kernel/neuron_kernel/helpers.py +0 -51
- spikingjelly-2.0.0.dev0/spikingjelly/activation_based/cuda_kernel/neuron_kernel/integrate_and_fire.py +0 -794
- spikingjelly-2.0.0.dev0/spikingjelly/activation_based/cuda_kernel/neuron_kernel/lif.py +0 -864
- spikingjelly-2.0.0.dev0/spikingjelly/activation_based/cuda_kernel/neuron_kernel/plif.py +0 -823
- spikingjelly-2.0.0.dev0/spikingjelly/activation_based/distributed/__init__.py +0 -79
- spikingjelly-2.0.0.dev0/spikingjelly/activation_based/distributed/adapters/__init__.py +0 -32
- spikingjelly-2.0.0.dev0/spikingjelly/activation_based/distributed/adapters/base.py +0 -80
- spikingjelly-2.0.0.dev0/spikingjelly/activation_based/distributed/adapters/cifar10dvs_vgg.py +0 -57
- spikingjelly-2.0.0.dev0/spikingjelly/activation_based/distributed/adapters/spikformer.py +0 -61
- spikingjelly-2.0.0.dev0/spikingjelly/activation_based/distributed/api.py +0 -210
- spikingjelly-2.0.0.dev0/spikingjelly/activation_based/distributed/dtensor.py +0 -3434
- spikingjelly-2.0.0.dev0/spikingjelly/activation_based/distributed/metrics.py +0 -46
- spikingjelly-2.0.0.dev0/spikingjelly/activation_based/distributed/planner.py +0 -38
- spikingjelly-2.0.0.dev0/spikingjelly/activation_based/distributed/runtime.py +0 -264
- spikingjelly-2.0.0.dev0/spikingjelly/activation_based/distributed/topology.py +0 -105
- spikingjelly-2.0.0.dev0/spikingjelly/activation_based/examples/DSQN/ptan/__init__.py +0 -13
- spikingjelly-2.0.0.dev0/spikingjelly/activation_based/examples/DSQN/ptan/agent.py +0 -204
- spikingjelly-2.0.0.dev0/spikingjelly/activation_based/examples/DSQN/ptan/common/__init__.py +0 -3
- spikingjelly-2.0.0.dev0/spikingjelly/activation_based/examples/DSQN/ptan/common/runfile.py +0 -62
- spikingjelly-2.0.0.dev0/spikingjelly/activation_based/examples/DSQN/ptan/common/utils.py +0 -369
- spikingjelly-2.0.0.dev0/spikingjelly/activation_based/examples/DSQN/ptan/common/wrappers.py +0 -250
- spikingjelly-2.0.0.dev0/spikingjelly/activation_based/examples/DSQN/ptan/common/wrappers_simple.py +0 -43
- spikingjelly-2.0.0.dev0/spikingjelly/activation_based/examples/DSQN/ptan/experience.py +0 -644
- spikingjelly-2.0.0.dev0/spikingjelly/activation_based/examples/DSQN/ptan/ignite.py +0 -148
- spikingjelly-2.0.0.dev0/spikingjelly/activation_based/examples/memopt/train_distributed.py +0 -693
- spikingjelly-2.0.0.dev0/spikingjelly/activation_based/layer/misc.py +0 -378
- spikingjelly-2.0.0.dev0/spikingjelly/activation_based/model/__init__.py +0 -44
- spikingjelly-2.0.0.dev0/spikingjelly/activation_based/neuron/lif.py +0 -708
- spikingjelly-2.0.0.dev0/spikingjelly/activation_based/neuron/spikezip.py +0 -256
- spikingjelly-2.0.0.dev0/spikingjelly/activation_based/neuron_cupy.py +0 -3180
- spikingjelly-2.0.0.dev0/spikingjelly/activation_based/neuron_cupy_lite.py +0 -2867
- spikingjelly-2.0.0.dev0/spikingjelly/activation_based/nir_exchange/from_nir.py +0 -226
- spikingjelly-2.0.0.dev0/spikingjelly/activation_based/op_counter/analytical_energy/__init__.py +0 -1
- spikingjelly-2.0.0.dev0/spikingjelly/activation_based/op_counter/analytical_energy/core.py +0 -568
- spikingjelly-2.0.0.dev0/spikingjelly/activation_based/op_counter/base.py +0 -734
- spikingjelly-2.0.0.dev0/spikingjelly/activation_based/op_counter/compute_energy.py +0 -359
- spikingjelly-2.0.0.dev0/spikingjelly/activation_based/op_counter/lemaire_addressing.py +0 -281
- spikingjelly-2.0.0.dev0/spikingjelly/activation_based/op_counter/memory_residency.py +0 -917
- spikingjelly-2.0.0.dev0/spikingjelly/activation_based/op_counter/neuromc/add_counter.py +0 -345
- spikingjelly-2.0.0.dev0/spikingjelly/activation_based/op_counter/neuromc/base_counter.py +0 -102
- spikingjelly-2.0.0.dev0/spikingjelly/activation_based/op_counter/neuromc/cmp_counter.py +0 -97
- spikingjelly-2.0.0.dev0/spikingjelly/activation_based/op_counter/neuromc/memory_residency_counter.py +0 -83
- spikingjelly-2.0.0.dev0/spikingjelly/activation_based/op_counter/neuromc/mul_counter.py +0 -242
- spikingjelly-2.0.0.dev0/spikingjelly/activation_based/op_counter/neuromc/mux_counter.py +0 -69
- spikingjelly-2.0.0.dev0/spikingjelly/activation_based/op_counter/neuromc/sqrt_counter.py +0 -77
- spikingjelly-2.0.0.dev0/spikingjelly/activation_based/op_counter/neuromc/utils.py +0 -179
- spikingjelly-2.0.0.dev0/spikingjelly/activation_based/op_counter/synop.py +0 -251
- spikingjelly-2.0.0.dev0/spikingjelly/activation_based/precision/config.py +0 -83
- spikingjelly-2.0.0.dev0/spikingjelly/activation_based/triton_kernel/neuron_kernel/__init__.py +0 -11
- spikingjelly-2.0.0.dev0/spikingjelly/activation_based/triton_kernel/neuron_kernel/integrate_and_fire.py +0 -679
- spikingjelly-2.0.0.dev0/spikingjelly/activation_based/triton_kernel/neuron_kernel/lif.py +0 -736
- spikingjelly-2.0.0.dev0/spikingjelly/activation_based/triton_kernel/neuron_kernel/plif.py +0 -784
- spikingjelly-2.0.0.dev0/spikingjelly/activation_based/triton_kernel/spikezip_kernel.py +0 -226
- spikingjelly-2.0.0.dev0/spikingjelly/activation_based/triton_kernel/torch2triton/__init__.py +0 -9
- spikingjelly-2.0.0.dev0/spikingjelly/activation_based/triton_kernel/triton_utils.py +0 -188
- spikingjelly-2.0.0.dev0/spikingjelly/configure.py +0 -85
- spikingjelly-2.0.0.dev0/spikingjelly/timing_based/__init__.py +0 -0
- spikingjelly-2.0.0.dev0/spikingjelly/timing_based/encoding.py +0 -386
- spikingjelly-2.0.0.dev0/spikingjelly/timing_based/examples/__init__.py +0 -0
- spikingjelly-2.0.0.dev0/spikingjelly/timing_based/neuron.py +0 -362
- spikingjelly-2.0.0.dev0/spikingjelly/timing_based/orig_encoding.py +0 -57
- spikingjelly-2.0.0.dev0/spikingjelly/timing_based/orig_neuron.py +0 -127
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/LICENSE +0 -0
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/setup.cfg +0 -0
- {spikingjelly-2.0.0.dev0/spikingjelly → spikingjelly-2.0.0.dev2/spikingjelly/activation_based}/__init__.py +0 -0
- {spikingjelly-2.0.0.dev0/spikingjelly/activation_based → spikingjelly-2.0.0.dev2/spikingjelly/activation_based/ann2snn/examples}/__init__.py +0 -0
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/ann2snn/examples/imagenet_vit_sta.py +0 -0
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/ann2snn/examples/roberta_spikezip_qann_synthetic.py +0 -0
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/ann2snn/sample_models/__init__.py +0 -0
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/ann2snn/sample_models/mnist_cnn.py +0 -0
- {spikingjelly-2.0.0.dev0/spikingjelly/activation_based/ann2snn/examples → spikingjelly-2.0.0.dev2/spikingjelly/activation_based/examples/DSQN/utils}/__init__.py +0 -0
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/examples/DSQN/utils/atari_wrappers.py +0 -0
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/examples/DSQN/utils/model.py +0 -0
- {spikingjelly-2.0.0.dev0/spikingjelly/activation_based/cuda_kernel/auto_cuda → spikingjelly-2.0.0.dev2/spikingjelly/activation_based/examples}/__init__.py +0 -0
- {spikingjelly-2.0.0.dev0/spikingjelly/activation_based/examples/DSQN/utils → spikingjelly-2.0.0.dev2/spikingjelly/activation_based/examples/common}/__init__.py +0 -0
- {spikingjelly-2.0.0.dev0/spikingjelly/activation_based/model → spikingjelly-2.0.0.dev2/spikingjelly/activation_based/examples/common}/tv_ref_classify/__init__.py +0 -0
- {spikingjelly-2.0.0.dev0/spikingjelly/activation_based/model → spikingjelly-2.0.0.dev2/spikingjelly/activation_based/examples/common}/tv_ref_classify/presets.py +0 -0
- {spikingjelly-2.0.0.dev0/spikingjelly/activation_based/model → spikingjelly-2.0.0.dev2/spikingjelly/activation_based/examples/common}/tv_ref_classify/sampler.py +0 -0
- {spikingjelly-2.0.0.dev0/spikingjelly/activation_based/model → spikingjelly-2.0.0.dev2/spikingjelly/activation_based/examples/common}/tv_ref_classify/transforms.py +0 -0
- /spikingjelly-2.0.0.dev0/spikingjelly/activation_based/examples/ILC-SAN/ilcsan.py → /spikingjelly-2.0.0.dev2/spikingjelly/activation_based/examples/ilc_san/ilc_san.py +0 -0
- {spikingjelly-2.0.0.dev0/spikingjelly/activation_based/examples/ILC-SAN → spikingjelly-2.0.0.dev2/spikingjelly/activation_based/examples/ilc_san}/replay_buffer_norm.py +0 -0
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/examples/lynxi_fmnist_inference.py +0 -0
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/examples/memopt/data_module.py +0 -0
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/examples/memopt/lightning_callbacks.py +0 -0
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/examples/memopt/lightning_modules.py +0 -0
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/examples/memopt/models.py +0 -0
- {spikingjelly-2.0.0.dev0/spikingjelly/activation_based/examples/NoisySAN → spikingjelly-2.0.0.dev2/spikingjelly/activation_based/examples/noisy_san}/core_cuda.py +0 -0
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/functional/loss.py +0 -0
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/layer/__init__.py +0 -0
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/memopt/__init__.py +0 -0
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/neuron/inter_layer_connection.py +0 -0
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/nir_exchange/__init__.py +0 -0
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/op_counter/_sparse_memory.py +0 -0
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/op_counter/spikesim/formulas.py +0 -0
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/triton_kernel/__init__.py +0 -0
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/triton_kernel/dummy.py +0 -0
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/activation_based/triton_kernel/flexsn/info.py +0 -0
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/datasets/__init__.py +0 -0
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/datasets/transform.py +0 -0
- {spikingjelly-2.0.0.dev0/spikingjelly/activation_based/examples → spikingjelly-2.0.0.dev2/spikingjelly/timing_based}/__init__.py +0 -0
- {spikingjelly-2.0.0.dev0/spikingjelly/activation_based/examples/common → spikingjelly-2.0.0.dev2/spikingjelly/timing_based/examples}/__init__.py +0 -0
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/visualizing/__init__.py +0 -0
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/visualizing/_utils.py +0 -0
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/visualizing/bar3d.py +0 -0
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/visualizing/feature_map.py +0 -0
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/visualizing/heatmap.py +0 -0
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly/visualizing/spikes.py +0 -0
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly.egg-info/dependency_links.txt +0 -0
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/spikingjelly.egg-info/top_level.txt +0 -0
- {spikingjelly-2.0.0.dev0 → spikingjelly-2.0.0.dev2}/test/test_visualizing.py +0 -0
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
# SpikingJelly license guide
|
|
2
|
+
|
|
3
|
+
SpikingJelly is distributed under the Open-Intelligence Open Source License
|
|
4
|
+
Version 1.0. The [Chinese license text](../LICENSE) is the original and
|
|
5
|
+
authoritative version.
|
|
6
|
+
|
|
7
|
+
Translations are available in [English](translations/LICENSE.en),
|
|
8
|
+
[German](translations/LICENSE.de), [French](translations/LICENSE.fr), and
|
|
9
|
+
[Hindi](translations/LICENSE.hi). They are provided for convenience and do not
|
|
10
|
+
change the license terms. If a translation or this guide differs from the
|
|
11
|
+
Chinese license, the Chinese license prevails.
|
|
12
|
+
|
|
13
|
+
The translations have been checked for clause completeness, numbering, and
|
|
14
|
+
terminology consistency against the Chinese Version 1.0 text. They have not
|
|
15
|
+
been adopted as authoritative texts by AITISA or the relevant rightsholders.
|
|
16
|
+
|
|
17
|
+
This guide identifies what the license expressly states and where it does not
|
|
18
|
+
provide a scenario-specific answer. It is not a replacement for the license or
|
|
19
|
+
an additional grant of rights.
|
|
20
|
+
|
|
21
|
+
## Project-specific notice status
|
|
22
|
+
|
|
23
|
+
Section III of the current root `LICENSE` reproduces the license template,
|
|
24
|
+
including the placeholders `XXXX`, `著作权人名称` (“Name of copyright holder”),
|
|
25
|
+
and `授权` (“authorization”). The project is confirming the correct
|
|
26
|
+
project-specific copyright and patent declarations with the relevant
|
|
27
|
+
rightsholders. Until those fields are completed following that confirmation,
|
|
28
|
+
no copyright owner or patent selection should be inferred from this guide.
|
|
29
|
+
|
|
30
|
+
## Usage and distribution scenarios
|
|
31
|
+
|
|
32
|
+
Section references below refer to the authoritative Chinese Version 1.0 text.
|
|
33
|
+
|
|
34
|
+
| Scenario | What the license expressly states | Conditions stated by the license | What the license does not expressly address |
|
|
35
|
+
| --- | --- | --- | --- |
|
|
36
|
+
| Non-commercial internal use | Section II.1 permits use in source or executable form, with or without modification. | The redistribution conditions do not apply if no copy is redistributed. | The license does not define “commercial purpose” or its boundary with non-commercial use. |
|
|
37
|
+
| Commercial internal use | Sections II.1 and V permit use for commercial purposes. | Before commercial use, Section V.1 requires disclosure of the listed information. Section V.2 also applies if the user owns patents covering the software. | The license does not give examples of activities that constitute commercial use. |
|
|
38
|
+
| Redistribution in source form | Section II.1 permits redistribution with or without modification. | Section II.2(1) requires retention of the conditions in Section II.2, the Section III license notice, and the Section VI disclaimer. Section V also applies to commercial redistribution. | It does not prescribe a specific file layout for the retained material. |
|
|
39
|
+
| Redistribution in executable form | Section II.1 permits redistribution with or without modification. | Section II.2(2) requires the conditions in Section II.2, the Section III license notice, and the Section VI disclaimer in an accompanying file and/or other material. Section V also applies to commercial redistribution. | It does not prescribe the name, format, or placement of the accompanying material. |
|
|
40
|
+
| Product containing compiled SpikingJelly | Redistribution of the included SpikingJelly executable code falls within Sections II.1 and II.2(2). | The executable redistribution conditions apply to SpikingJelly; Section V also applies if the use or redistribution is commercial. | The license does not define the boundary between the Work, a derivative work, and a separate combined work, or state how its terms affect surrounding proprietary code. |
|
|
41
|
+
| Customer on-premises deployment | A deployment that transfers a copy of SpikingJelly in executable form falls within the executable redistribution provisions. | Apply Section II.2(2), and Section V if the deployment is commercial. | “Deployment” is not separately defined. |
|
|
42
|
+
| Hosted service or SaaS | Running SpikingJelly is a use under Section II.1. | Section V applies if that use is for a commercial purpose. The redistribution conditions apply only if a copy is redistributed. | The license does not separately address network services or define when a hosted arrangement also constitutes redistribution. |
|
|
43
|
+
| Redistribution of modifications | Section II.1 permits redistribution whether or not the software has been modified. | Apply the source or executable redistribution conditions according to the form distributed, and Section V for commercial redistribution. | The license does not further define “derivative work.” |
|
|
44
|
+
| User owns patents covering SpikingJelly | Section V.2 addresses commercial users and redistributors that own patents covering the software. | Disclose basic patent information and select one of the four listed patent-license options. | The license does not define when a patent “covers” the software. |
|
|
45
|
+
|
|
46
|
+
The license does not expressly require publication of the source code of a
|
|
47
|
+
separate application that contains or uses SpikingJelly. It also does not
|
|
48
|
+
define the boundary between a derivative work and a combined work. The table
|
|
49
|
+
therefore does not make a conclusion about a particular application's source
|
|
50
|
+
code; that conclusion depends on the facts of the application and an
|
|
51
|
+
authoritative interpretation of the license.
|
|
52
|
+
|
|
53
|
+
## Practical checklist for executable redistribution
|
|
54
|
+
|
|
55
|
+
This checklist summarizes the express requirements; it does not add new ones.
|
|
56
|
+
|
|
57
|
+
1. Determine whether the use or redistribution is for a commercial purpose.
|
|
58
|
+
2. Accompany the executable redistribution with the conditions in Section
|
|
59
|
+
II.2, the Section III license notice, and the Section VI disclaimer. A copy
|
|
60
|
+
of the complete authoritative license may be included for clarity.
|
|
61
|
+
3. For commercial use or redistribution, make the disclosure required by
|
|
62
|
+
Section V.1 before the use or redistribution.
|
|
63
|
+
4. If the commercial user or redistributor owns patents covering SpikingJelly,
|
|
64
|
+
follow Section V.2.
|
|
65
|
+
5. Keep the applicable notices and a record of any required disclosure with the
|
|
66
|
+
release's compliance materials.
|
|
67
|
+
|
|
68
|
+
The disclosure URL printed in Version 1.0 is
|
|
69
|
+
<https://www.aitisa.org.cn/OI_Statement/>. The license does not specify an
|
|
70
|
+
alternative procedure if that service is unavailable; obtain instructions
|
|
71
|
+
from the New Generation of Artificial Intelligence Technology Innovation
|
|
72
|
+
Strategic Alliance (AITISA) in that situation.
|
|
73
|
+
|
|
74
|
+
## Questions requiring authoritative clarification
|
|
75
|
+
|
|
76
|
+
The current text does not fully answer the following questions:
|
|
77
|
+
|
|
78
|
+
- the definition and boundaries of “commercial purpose”;
|
|
79
|
+
- the treatment of proprietary applications that incorporate SpikingJelly;
|
|
80
|
+
- the boundary between a derivative work and a combined work;
|
|
81
|
+
- the treatment of hosted services and other deployments that do not transfer
|
|
82
|
+
a copy of the software;
|
|
83
|
+
- the meaning of a patent “covering” the software;
|
|
84
|
+
- the content and effect of the referenced Open-Intelligence Open Source
|
|
85
|
+
Platform Management Regulation Version 1.0; and
|
|
86
|
+
- an alternative commercial-use disclosure procedure when the specified
|
|
87
|
+
service is unavailable.
|
|
88
|
+
|
|
89
|
+
The maintainers will record any clarification from the relevant rightsholders
|
|
90
|
+
or AITISA in this guide so that all users can rely on the same published
|
|
91
|
+
information.
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
# Open-Intelligence Open Source License Version 1.0
|
|
2
|
+
|
|
3
|
+
## Sprachen
|
|
4
|
+
|
|
5
|
+
[English](LICENSE.en) | Deutsch | [Français](LICENSE.fr) |
|
|
6
|
+
[हिन्दी](LICENSE.hi) | [中文](../../LICENSE) | [Lizenzleitfaden](../README.md)
|
|
7
|
+
|
|
8
|
+
> **Übersetzungshinweis:** Diese deutsche Übersetzung dient nur der
|
|
9
|
+
> Information. Der chinesische Text in der Datei `LICENSE` im Stammverzeichnis
|
|
10
|
+
> des Repositories ist die ursprüngliche und maßgebliche Fassung. Bei
|
|
11
|
+
> Abweichungen ist der chinesische Text maßgeblich.
|
|
12
|
+
|
|
13
|
+
## I. Begriffsbestimmungen
|
|
14
|
+
|
|
15
|
+
1. **„Werk“** bezeichnet jedes nach dieser Lizenz bereitgestellte
|
|
16
|
+
urheberrechtlich geschützte Werk, unabhängig davon, ob es als Quellcode oder
|
|
17
|
+
Objektcode vorliegt.
|
|
18
|
+
2. **„Lizenzgeber“** bezeichnet den Urheberrechtsinhaber oder eine natürliche
|
|
19
|
+
oder juristische Person, die vom Urheberrechtsinhaber zur Erteilung dieser
|
|
20
|
+
Lizenz ermächtigt wurde.
|
|
21
|
+
3. **„Nutzer“** bezeichnet eine natürliche oder juristische Person, die die
|
|
22
|
+
durch diese Lizenz gewährten Rechte ausübt.
|
|
23
|
+
4. **„Verbreiter/Weiterverbreiter“** bezeichnet eine natürliche oder
|
|
24
|
+
juristische Person, die das Werk oder ein davon abgeleitetes Werk in einem
|
|
25
|
+
beliebigen Medium verbreitet.
|
|
26
|
+
|
|
27
|
+
## II. Urheberrechtliche Lizenz
|
|
28
|
+
|
|
29
|
+
### 1. Umfang der Lizenz
|
|
30
|
+
|
|
31
|
+
Unter der Voraussetzung, dass der Nutzer die nachstehend in Unterabschnitt 2
|
|
32
|
+
genannten Bedingungen erfüllt, gewährt der Lizenzgeber dem Nutzer das Recht,
|
|
33
|
+
diese Software mit oder ohne Änderungen in Form von Quellcode oder
|
|
34
|
+
ausführbarem Code zu nutzen und weiterzuverbreiten.
|
|
35
|
+
|
|
36
|
+
### 2. Lizenzbedingungen
|
|
37
|
+
|
|
38
|
+
1. Bei der Weiterverbreitung dieser Software in Form von Quellcode müssen die
|
|
39
|
+
Lizenzbedingungen dieses Unterabschnitts, der Lizenzhinweis in Abschnitt III
|
|
40
|
+
und der Haftungsausschluss in Abschnitt VI beibehalten werden.
|
|
41
|
+
2. Bei der Weiterverbreitung dieser Software in Form von ausführbarem Code
|
|
42
|
+
müssen die Lizenzbedingungen dieses Unterabschnitts, der Lizenzhinweis in
|
|
43
|
+
Abschnitt III und der Haftungsausschluss in Abschnitt VI in einer
|
|
44
|
+
beigefügten Datei und/oder in anderen der Weiterverbreitung beigefügten
|
|
45
|
+
Materialien wiedergegeben werden.
|
|
46
|
+
3. Die Nutzung oder Weiterverbreitung zu kommerziellen Zwecken muss Abschnitt V
|
|
47
|
+
entsprechen.
|
|
48
|
+
4. Hinsichtlich der Erklärung in Abschnitt III, wonach sich der
|
|
49
|
+
Urheberrechtsinhaber zur Einhaltung der „Open-Intelligence Open Source
|
|
50
|
+
Platform Management Regulation Version 1.0“ der New Generation of
|
|
51
|
+
Artificial Intelligence Technology Innovation Strategic Alliance
|
|
52
|
+
verpflichtet, wird auf <https://www.aitisa.org.cn/> verwiesen.
|
|
53
|
+
|
|
54
|
+
## III. Lizenzhinweis
|
|
55
|
+
|
|
56
|
+
Der Hinweis zur Verwendung dieser Lizenz lautet:
|
|
57
|
+
|
|
58
|
+
> Copyright (c) XXXX. Urheberrecht im Eigentum von „[Name des
|
|
59
|
+
> Urheberrechtsinhabers]“.
|
|
60
|
+
>
|
|
61
|
+
> Diese Software wird unter der Open-Intelligence Open Source License Version
|
|
62
|
+
> 1.0 veröffentlicht.
|
|
63
|
+
>
|
|
64
|
+
> [Freiwillige Patenterklärung] Diese Software wird mit einer Patentlizenz in
|
|
65
|
+
> der Form (Ermächtigung) bereitgestellt.
|
|
66
|
+
>
|
|
67
|
+
> Der Urheberrechtsinhaber verpflichtet sich zur Einhaltung der
|
|
68
|
+
> Open-Intelligence Open Source Platform Management Regulation Version 1.0 der
|
|
69
|
+
> New Generation of Artificial Intelligence Technology Innovation Strategic
|
|
70
|
+
> Alliance.
|
|
71
|
+
|
|
72
|
+
## IV. Patentlizenz [Freiwillige Patenterklärung]
|
|
73
|
+
|
|
74
|
+
Besitzt der Lizenzgeber Patente, die diese Software erfassen, gilt Folgendes:
|
|
75
|
+
|
|
76
|
+
1. Nutzern und Verbreitern/Weiterverbreitern, die keine diese Software
|
|
77
|
+
erfassenden Patente besitzen, gewährt der Lizenzgeber die in Option (2)
|
|
78
|
+
bestimmte Lizenz:
|
|
79
|
+
|
|
80
|
+
1. eine unentgeltliche Lizenz zu fairen, angemessenen und
|
|
81
|
+
diskriminierungsfreien Bedingungen („FRAND RF“);
|
|
82
|
+
2. die Teilnahme an dem von der New Generation of Artificial Intelligence
|
|
83
|
+
Technology Innovation Strategic Alliance eingerichteten Patentpool
|
|
84
|
+
(„POOL“); oder
|
|
85
|
+
3. eine Lizenz zu fairen, angemessenen und diskriminierungsfreien
|
|
86
|
+
Bedingungen („FRAND“).
|
|
87
|
+
|
|
88
|
+
2. Gegenüber einem Nutzer oder Verbreiter/Weiterverbreiter, der diese Software
|
|
89
|
+
erfassende Patente besitzt, ist der Lizenzgeber berechtigt, aber nicht
|
|
90
|
+
verpflichtet, bei der Patentlizenzierung mit diesem Patentinhaber den
|
|
91
|
+
Grundsatz der Gegenseitigkeit anzuwenden.
|
|
92
|
+
|
|
93
|
+
## V. Kommerzielle Nutzung
|
|
94
|
+
|
|
95
|
+
### 1. Offenlegung der kommerziellen Nutzung
|
|
96
|
+
|
|
97
|
+
Vor der Nutzung oder Weiterverbreitung dieser Software zu kommerziellen
|
|
98
|
+
Zwecken, mit oder ohne Änderungen, muss ein Nutzer oder
|
|
99
|
+
Verbreiter/Weiterverbreiter unter
|
|
100
|
+
<https://www.aitisa.org.cn/OI_Statement/> mindestens die folgenden Angaben
|
|
101
|
+
offenlegen:
|
|
102
|
+
|
|
103
|
+
- Name des Nutzers/Verbreiters/Weiterverbreiters;
|
|
104
|
+
- Kontaktdaten des Nutzers/Verbreiters/Weiterverbreiters;
|
|
105
|
+
- Anschrift;
|
|
106
|
+
- Telefonnummer;
|
|
107
|
+
- E-Mail-Adresse; und
|
|
108
|
+
- Zweck der Nutzung/Weiterverbreitung, einschließlich Name und kurzer
|
|
109
|
+
Funktionsbeschreibung des Produkts, der Software oder der Anwendung, in der
|
|
110
|
+
diese Software verwendet wird.
|
|
111
|
+
|
|
112
|
+
### 2. Patentlizenz für die kommerzielle Nutzung
|
|
113
|
+
|
|
114
|
+
Besitzt ein kommerzieller Nutzer oder Verbreiter/Weiterverbreiter Patente, die
|
|
115
|
+
diese Software erfassen, muss dieser Patentinhaber im Rahmen der nach
|
|
116
|
+
Unterabschnitt 1 erforderlichen Offenlegung außerdem grundlegende Angaben zu
|
|
117
|
+
diesen Patenten offenlegen und ausdrücklich eine der folgenden Optionen für
|
|
118
|
+
die Lizenzierung dieser Patente an den Urheberrechtsinhaber, Drittnutzer und
|
|
119
|
+
Verbreiter/Weiterverbreiter wählen:
|
|
120
|
+
|
|
121
|
+
1. eine unentgeltliche Lizenz zu fairen, angemessenen und
|
|
122
|
+
diskriminierungsfreien Bedingungen („FRAND RF“);
|
|
123
|
+
2. die Teilnahme an dem von der New Generation of Artificial Intelligence
|
|
124
|
+
Technology Innovation Strategic Alliance eingerichteten Patentpool
|
|
125
|
+
(„POOL“);
|
|
126
|
+
3. eine Lizenz zu fairen, angemessenen und diskriminierungsfreien Bedingungen
|
|
127
|
+
(„FRAND“); oder
|
|
128
|
+
4. keine Lizenz („NO LICENSE“).
|
|
129
|
+
|
|
130
|
+
Besitzt der Urheberrechtsinhaber Patente, die diese Software erfassen, hat aber
|
|
131
|
+
in der vorstehenden Freiwilligen Patenterklärung keine Auswahl getroffen, so
|
|
132
|
+
gewährt der Urheberrechtsinhaber dem kommerziellen Nutzer oder
|
|
133
|
+
Verbreiter/Weiterverbreiter hiermit dieselbe Form der Patentlizenz, die dieser
|
|
134
|
+
Nutzer oder Verbreiter/Weiterverbreiter nach diesem Unterabschnitt gewählt hat.
|
|
135
|
+
|
|
136
|
+
## VI. Haftungsausschluss
|
|
137
|
+
|
|
138
|
+
Diese Software wird vom Urheberrechtsinhaber und den Mitwirkenden in der
|
|
139
|
+
vorliegenden Form („as is“) bereitgestellt und von der New Generation of
|
|
140
|
+
Artificial Intelligence Technology Innovation Strategic Alliance in der
|
|
141
|
+
vorliegenden Form („as is“) verwaltet.
|
|
142
|
+
|
|
143
|
+
Diese Software wird ohne ausdrückliche oder stillschweigende Gewährleistung
|
|
144
|
+
bereitgestellt; ausgeschlossen sind insbesondere stillschweigende
|
|
145
|
+
Gewährleistungen der Verkehrsfähigkeit, der Eignung für einen bestimmten Zweck
|
|
146
|
+
und der Nichtverletzung von Rechten Dritter. Unter keinen Umständen und nach
|
|
147
|
+
keiner Haftungstheorie, sei es aus Vertrag, verschuldensunabhängiger Haftung oder
|
|
148
|
+
unerlaubter Handlung (einschließlich Fahrlässigkeit oder aus sonstigen
|
|
149
|
+
Gründen), haften der Urheberrechtsinhaber oder die Mitwirkenden für unmittelbare,
|
|
150
|
+
mittelbare, beiläufig entstandene, besondere, Straf- oder Folgeschäden, die in
|
|
151
|
+
irgendeiner Weise aus der Nutzung dieser Software entstehen. Dies umfasst
|
|
152
|
+
insbesondere die Beschaffung von Ersatzwaren oder Ersatzleistungen, Nutzungs-,
|
|
153
|
+
Daten- oder Gewinnverluste sowie Betriebsunterbrechungen und gilt auch dann,
|
|
154
|
+
wenn zuvor auf die Möglichkeit solcher Schäden hingewiesen wurde.
|
|
155
|
+
|
|
156
|
+
Neben den in den vorstehenden Patenterklärungen ausdrücklich eingeräumten
|
|
157
|
+
Rechten kann die Nutzung dieser Software durch weitere Rechte, einschließlich
|
|
158
|
+
Patentrechten, beschränkt sein. Diese Lizenz gewährt keine ausdrückliche oder
|
|
159
|
+
stillschweigende Lizenz an solchen weiteren Rechten, einschließlich
|
|
160
|
+
Patentrechten.
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
# Open-Intelligence Open Source License Version 1.0
|
|
2
|
+
|
|
3
|
+
## Languages
|
|
4
|
+
|
|
5
|
+
English | [Deutsch](LICENSE.de) | [Français](LICENSE.fr) |
|
|
6
|
+
[हिन्दी](LICENSE.hi) | [中文](../../LICENSE) | [License guide](../README.md)
|
|
7
|
+
|
|
8
|
+
> **Translation notice:** This English translation is provided for
|
|
9
|
+
> convenience only. The Chinese text in the repository's root `LICENSE` file
|
|
10
|
+
> is the original and authoritative version. If this translation differs from
|
|
11
|
+
> the Chinese text, the Chinese text prevails.
|
|
12
|
+
|
|
13
|
+
## I. Definitions
|
|
14
|
+
|
|
15
|
+
1. **“Work”** means any work of authorship made available under this License,
|
|
16
|
+
whether in source-code or object-code form.
|
|
17
|
+
2. **“Licensor”** means the copyright holder, or an individual or legal entity
|
|
18
|
+
authorized by the copyright holder to grant this License.
|
|
19
|
+
3. **“User”** means an individual or legal entity exercising permissions
|
|
20
|
+
granted by this License.
|
|
21
|
+
4. **“Distributor/Redistributor”** means an individual or legal entity that
|
|
22
|
+
distributes the Work or a derivative work in any medium.
|
|
23
|
+
|
|
24
|
+
## II. Copyright License
|
|
25
|
+
|
|
26
|
+
### 1. Scope of the License
|
|
27
|
+
|
|
28
|
+
Subject to the User's compliance with the conditions in Subsection 2 below,
|
|
29
|
+
the Licensor grants the User the right to use and redistribute this software,
|
|
30
|
+
with or without modification, in source-code or executable-code form.
|
|
31
|
+
|
|
32
|
+
### 2. Conditions of the License
|
|
33
|
+
|
|
34
|
+
1. When redistributing this software in source-code form, you must retain the
|
|
35
|
+
license conditions in this subsection, the License Notice in Section III,
|
|
36
|
+
and the Disclaimer in Section VI.
|
|
37
|
+
2. When redistributing this software in executable-code form, you must
|
|
38
|
+
reproduce the license conditions in this subsection, the License Notice in
|
|
39
|
+
Section III, and the Disclaimer in Section VI in an accompanying file
|
|
40
|
+
and/or other materials provided with the redistribution.
|
|
41
|
+
3. Commercial use or redistribution must comply with Section V.
|
|
42
|
+
4. For the statement in Section III that “The copyright holder undertakes to
|
|
43
|
+
comply with the Open-Intelligence Open Source Platform Management
|
|
44
|
+
Regulation Version 1.0 of the New Generation of Artificial Intelligence
|
|
45
|
+
Technology Innovation Strategic Alliance,” please refer to
|
|
46
|
+
<https://www.aitisa.org.cn/>.
|
|
47
|
+
|
|
48
|
+
## III. License Notice
|
|
49
|
+
|
|
50
|
+
The notice for adopting this License is as follows:
|
|
51
|
+
|
|
52
|
+
> Copyright (c) XXXX. Copyright owned by “[Name of copyright holder].”
|
|
53
|
+
>
|
|
54
|
+
> This software is released under the Open-Intelligence Open Source License
|
|
55
|
+
> Version 1.0.
|
|
56
|
+
>
|
|
57
|
+
> [Voluntary Patent Declaration] This software is provided with a patent
|
|
58
|
+
> license in the form of (authorization).
|
|
59
|
+
>
|
|
60
|
+
> The copyright holder undertakes to comply with the Open-Intelligence Open
|
|
61
|
+
> Source Platform Management Regulation Version 1.0 of the New Generation of
|
|
62
|
+
> Artificial Intelligence Technology Innovation Strategic Alliance.
|
|
63
|
+
|
|
64
|
+
## IV. Patent License [Voluntary Patent Declaration]
|
|
65
|
+
|
|
66
|
+
If the Licensor owns patents covering this software:
|
|
67
|
+
|
|
68
|
+
1. For Users and Distributors/Redistributors that do not own any patent
|
|
69
|
+
covering this software, the Licensor grants the license specified in option
|
|
70
|
+
(2) below:
|
|
71
|
+
|
|
72
|
+
1. a royalty-free license on fair, reasonable, and non-discriminatory terms
|
|
73
|
+
(“FRAND RF”);
|
|
74
|
+
2. participation in the patent pool established by the New Generation of
|
|
75
|
+
Artificial Intelligence Technology Innovation Strategic Alliance
|
|
76
|
+
(“POOL”); or
|
|
77
|
+
3. a license on fair, reasonable, and non-discriminatory terms (“FRAND”).
|
|
78
|
+
|
|
79
|
+
2. For a User or Distributor/Redistributor that owns patents covering this
|
|
80
|
+
software, the Licensor may, but is not required to, apply the principle of
|
|
81
|
+
reciprocity when licensing patents with that patent holder.
|
|
82
|
+
|
|
83
|
+
## V. Commercial Use
|
|
84
|
+
|
|
85
|
+
### 1. Disclosure of Commercial Use
|
|
86
|
+
|
|
87
|
+
Before using or redistributing this software for commercial purposes, with or
|
|
88
|
+
without modification, a User or Distributor/Redistributor must disclose at
|
|
89
|
+
<https://www.aitisa.org.cn/OI_Statement/> at least the following information:
|
|
90
|
+
|
|
91
|
+
- name of the User/Distributor/Redistributor;
|
|
92
|
+
- contact information of the User/Distributor/Redistributor;
|
|
93
|
+
- address;
|
|
94
|
+
- telephone number;
|
|
95
|
+
- email address; and
|
|
96
|
+
- purpose of the use/redistribution, including the name and a brief functional
|
|
97
|
+
description of the product, software, or application in which this software
|
|
98
|
+
is used.
|
|
99
|
+
|
|
100
|
+
### 2. Patent License for Commercial Use
|
|
101
|
+
|
|
102
|
+
If a commercial User or Distributor/Redistributor owns patents covering this
|
|
103
|
+
software, that patent holder must also disclose basic information about those
|
|
104
|
+
patents as part of the disclosure required by Subsection 1 and expressly
|
|
105
|
+
select one of the following options for licensing those patents to the
|
|
106
|
+
copyright holder, third-party Users, and Distributors/Redistributors:
|
|
107
|
+
|
|
108
|
+
1. a royalty-free license on fair, reasonable, and non-discriminatory terms
|
|
109
|
+
(“FRAND RF”);
|
|
110
|
+
2. participation in the patent pool established by the New Generation of
|
|
111
|
+
Artificial Intelligence Technology Innovation Strategic Alliance
|
|
112
|
+
(“POOL”);
|
|
113
|
+
3. a license on fair, reasonable, and non-discriminatory terms (“FRAND”); or
|
|
114
|
+
4. no license (“NO LICENSE”).
|
|
115
|
+
|
|
116
|
+
If the copyright holder owns patents covering this software but made no
|
|
117
|
+
selection in the Voluntary Patent Declaration above, the copyright holder
|
|
118
|
+
hereby grants the commercial User or Distributor/Redistributor the same form
|
|
119
|
+
of patent license that the User or Distributor/Redistributor selected under
|
|
120
|
+
this subsection.
|
|
121
|
+
|
|
122
|
+
## VI. Disclaimer
|
|
123
|
+
|
|
124
|
+
This software is provided “as is” by its copyright holder and contributors and
|
|
125
|
+
is managed “as is” by the New Generation of Artificial Intelligence
|
|
126
|
+
Technology Innovation Strategic Alliance.
|
|
127
|
+
|
|
128
|
+
This software is provided without any express or implied warranty, including,
|
|
129
|
+
without limitation, the implied warranties of merchantability, fitness for a
|
|
130
|
+
particular purpose, and non-infringement. Under no circumstances and under no
|
|
131
|
+
theory of liability, whether in contract, strict liability, or tort (including
|
|
132
|
+
negligence or otherwise), shall the copyright holder or contributors be liable
|
|
133
|
+
for any direct, indirect, incidental, special, punitive, or consequential
|
|
134
|
+
damages arising in any way out of the use of this software, including, without
|
|
135
|
+
limitation, procurement of substitute goods or services; loss of use, data, or
|
|
136
|
+
profits; or business interruption, even if advised in advance of the
|
|
137
|
+
possibility of such damages.
|
|
138
|
+
|
|
139
|
+
In addition to the rights expressly granted in the patent declarations above,
|
|
140
|
+
use of this software may be restricted by other rights, including patent
|
|
141
|
+
rights. This License grants no express or implied license to any such other
|
|
142
|
+
rights, including patent rights.
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
# Open-Intelligence Open Source License Version 1.0
|
|
2
|
+
|
|
3
|
+
## Langues
|
|
4
|
+
|
|
5
|
+
[English](LICENSE.en) | [Deutsch](LICENSE.de) | Français |
|
|
6
|
+
[हिन्दी](LICENSE.hi) | [中文](../../LICENSE) | [Guide de la licence](../README.md)
|
|
7
|
+
|
|
8
|
+
> **Avis relatif à la traduction :** La présente traduction française est
|
|
9
|
+
> fournie uniquement à titre informatif. Le texte chinois figurant dans le
|
|
10
|
+
> fichier `LICENSE` à la racine du dépôt est la version originale et faisant
|
|
11
|
+
> foi. En cas de divergence, le texte chinois prévaut.
|
|
12
|
+
|
|
13
|
+
## I. Définitions
|
|
14
|
+
|
|
15
|
+
1. **« Œuvre »** désigne toute œuvre de l'esprit mise à disposition au titre de
|
|
16
|
+
la présente Licence, sous forme de code source ou de code objet.
|
|
17
|
+
2. **« Concédant »** désigne le titulaire du droit d'auteur, ou toute personne
|
|
18
|
+
physique ou morale autorisée par celui-ci à accorder la présente Licence.
|
|
19
|
+
3. **« Utilisateur »** désigne toute personne physique ou morale exerçant les
|
|
20
|
+
droits accordés par la présente Licence.
|
|
21
|
+
4. **« Distributeur/Redistributeur »** désigne toute personne physique ou
|
|
22
|
+
morale qui distribue l'Œuvre ou une œuvre dérivée, sur quelque support que
|
|
23
|
+
ce soit.
|
|
24
|
+
|
|
25
|
+
## II. Licence de droit d'auteur
|
|
26
|
+
|
|
27
|
+
### 1. Étendue de la Licence
|
|
28
|
+
|
|
29
|
+
Sous réserve du respect par l'Utilisateur des conditions énoncées à la
|
|
30
|
+
sous-section 2 ci-dessous, le Concédant lui accorde le droit d'utiliser et de
|
|
31
|
+
redistribuer le présent logiciel, modifié ou non, sous forme de code source ou
|
|
32
|
+
de code exécutable.
|
|
33
|
+
|
|
34
|
+
### 2. Conditions de la Licence
|
|
35
|
+
|
|
36
|
+
1. En cas de redistribution du présent logiciel sous forme de code source,
|
|
37
|
+
vous devez conserver les conditions de licence de la présente sous-section,
|
|
38
|
+
l'Avis de licence de la section III et la Clause de non-responsabilité de la
|
|
39
|
+
section VI.
|
|
40
|
+
2. En cas de redistribution du présent logiciel sous forme de code exécutable,
|
|
41
|
+
vous devez reproduire les conditions de licence de la présente sous-section,
|
|
42
|
+
l'Avis de licence de la section III et la Clause de non-responsabilité de la
|
|
43
|
+
section VI dans un fichier joint et/ou dans tout autre élément accompagnant
|
|
44
|
+
la redistribution.
|
|
45
|
+
3. Toute utilisation ou redistribution à des fins commerciales doit respecter
|
|
46
|
+
la section V.
|
|
47
|
+
4. Concernant la déclaration de la section III selon laquelle « Le titulaire
|
|
48
|
+
du droit d'auteur s'engage à respecter le Règlement de gestion de la
|
|
49
|
+
plateforme Open-Intelligence Open Source Version 1.0 de la New Generation of
|
|
50
|
+
Artificial Intelligence Technology Innovation Strategic Alliance »,
|
|
51
|
+
veuillez consulter <https://www.aitisa.org.cn/>.
|
|
52
|
+
|
|
53
|
+
## III. Avis de licence
|
|
54
|
+
|
|
55
|
+
L'avis relatif à l'adoption de la présente Licence est le suivant :
|
|
56
|
+
|
|
57
|
+
> Copyright (c) XXXX. Droit d'auteur détenu par « [Nom du titulaire du droit
|
|
58
|
+
> d'auteur] ».
|
|
59
|
+
>
|
|
60
|
+
> Ce logiciel est publié sous l'Open-Intelligence Open Source License Version
|
|
61
|
+
> 1.0.
|
|
62
|
+
>
|
|
63
|
+
> [Déclaration volontaire de brevet] Ce logiciel est assorti d'une licence de
|
|
64
|
+
> brevet sous la forme (autorisation).
|
|
65
|
+
>
|
|
66
|
+
> Le titulaire du droit d'auteur s'engage à respecter le Règlement de gestion
|
|
67
|
+
> de la plateforme Open-Intelligence Open Source Version 1.0 de la New
|
|
68
|
+
> Generation of Artificial Intelligence Technology Innovation Strategic
|
|
69
|
+
> Alliance.
|
|
70
|
+
|
|
71
|
+
## IV. Licence de brevet [Déclaration volontaire de brevet]
|
|
72
|
+
|
|
73
|
+
Si le Concédant détient des brevets couvrant le présent logiciel :
|
|
74
|
+
|
|
75
|
+
1. Pour les Utilisateurs et Distributeurs/Redistributeurs qui ne détiennent
|
|
76
|
+
aucun brevet couvrant le présent logiciel, le Concédant accorde la licence
|
|
77
|
+
indiquée à l'option (2) ci-dessous :
|
|
78
|
+
|
|
79
|
+
1. une licence sans redevance à des conditions équitables, raisonnables et
|
|
80
|
+
non discriminatoires (« FRAND RF ») ;
|
|
81
|
+
2. la participation au pool de brevets établi par la New Generation of
|
|
82
|
+
Artificial Intelligence Technology Innovation Strategic Alliance
|
|
83
|
+
(« POOL ») ; ou
|
|
84
|
+
3. une licence à des conditions équitables, raisonnables et non
|
|
85
|
+
discriminatoires (« FRAND »).
|
|
86
|
+
|
|
87
|
+
2. À l'égard d'un Utilisateur ou Distributeur/Redistributeur qui détient des
|
|
88
|
+
brevets couvrant le présent logiciel, le Concédant peut, sans y être obligé,
|
|
89
|
+
appliquer le principe de réciprocité lors de la concession de licences de
|
|
90
|
+
brevet avec ce titulaire de brevets.
|
|
91
|
+
|
|
92
|
+
## V. Utilisation commerciale
|
|
93
|
+
|
|
94
|
+
### 1. Déclaration de l'utilisation commerciale
|
|
95
|
+
|
|
96
|
+
Avant toute utilisation ou redistribution du présent logiciel à des fins
|
|
97
|
+
commerciales, modifié ou non, l'Utilisateur ou le
|
|
98
|
+
Distributeur/Redistributeur doit déclarer sur
|
|
99
|
+
<https://www.aitisa.org.cn/OI_Statement/> au moins les informations suivantes :
|
|
100
|
+
|
|
101
|
+
- nom de l'Utilisateur/du Distributeur/Redistributeur ;
|
|
102
|
+
- coordonnées de l'Utilisateur/du Distributeur/Redistributeur ;
|
|
103
|
+
- adresse ;
|
|
104
|
+
- numéro de téléphone ;
|
|
105
|
+
- adresse électronique ; et
|
|
106
|
+
- objet de l'utilisation/redistribution, y compris le nom et une brève
|
|
107
|
+
description des fonctions du produit, du logiciel ou de l'application dans
|
|
108
|
+
lequel le présent logiciel est utilisé.
|
|
109
|
+
|
|
110
|
+
### 2. Licence de brevet applicable à l'utilisation commerciale
|
|
111
|
+
|
|
112
|
+
Si un Utilisateur ou Distributeur/Redistributeur commercial détient des brevets
|
|
113
|
+
couvrant le présent logiciel, ce titulaire de brevets doit également déclarer
|
|
114
|
+
les informations essentielles relatives à ces brevets dans le cadre de la
|
|
115
|
+
déclaration exigée à la sous-section 1 et choisir expressément l'une des
|
|
116
|
+
options suivantes pour concéder ces brevets au titulaire du droit d'auteur,
|
|
117
|
+
aux Utilisateurs tiers et aux Distributeurs/Redistributeurs :
|
|
118
|
+
|
|
119
|
+
1. une licence sans redevance à des conditions équitables, raisonnables et non
|
|
120
|
+
discriminatoires (« FRAND RF ») ;
|
|
121
|
+
2. la participation au pool de brevets établi par la New Generation of
|
|
122
|
+
Artificial Intelligence Technology Innovation Strategic Alliance
|
|
123
|
+
(« POOL ») ;
|
|
124
|
+
3. une licence à des conditions équitables, raisonnables et non
|
|
125
|
+
discriminatoires (« FRAND ») ; ou
|
|
126
|
+
4. aucune licence (« NO LICENSE »).
|
|
127
|
+
|
|
128
|
+
Si le titulaire du droit d'auteur détient des brevets couvrant le présent
|
|
129
|
+
logiciel mais n'a fait aucun choix dans la Déclaration volontaire de brevet
|
|
130
|
+
ci-dessus, il accorde par les présentes à l'Utilisateur ou au
|
|
131
|
+
Distributeur/Redistributeur commercial la même forme de licence de brevet que
|
|
132
|
+
celle choisie par cet Utilisateur ou Distributeur/Redistributeur au titre de la
|
|
133
|
+
présente sous-section.
|
|
134
|
+
|
|
135
|
+
## VI. Clause de non-responsabilité
|
|
136
|
+
|
|
137
|
+
Le présent logiciel est fourni « en l'état » par son titulaire du droit
|
|
138
|
+
d'auteur et ses contributeurs, et est géré « en l'état » par la New Generation
|
|
139
|
+
of Artificial Intelligence Technology Innovation Strategic Alliance.
|
|
140
|
+
|
|
141
|
+
Le présent logiciel est fourni sans aucune garantie, expresse ou implicite,
|
|
142
|
+
y compris, notamment, les garanties implicites de qualité marchande,
|
|
143
|
+
d'adéquation à un usage particulier et d'absence de contrefaçon. En aucun cas
|
|
144
|
+
et quel que soit le fondement de la responsabilité, qu'il soit contractuel,
|
|
145
|
+
sans faute ou délictuel (y compris la négligence ou autre), le titulaire du
|
|
146
|
+
droit d'auteur ou les contributeurs ne pourront être tenus responsables de dommages
|
|
147
|
+
directs, indirects, accessoires, spéciaux, punitifs ou consécutifs découlant de
|
|
148
|
+
quelque manière que ce soit de l'utilisation du présent logiciel, y compris,
|
|
149
|
+
notamment, le coût de biens ou services de remplacement, la perte d'utilisation,
|
|
150
|
+
de données ou de bénéfices, ou l'interruption d'activité, même s'ils ont été
|
|
151
|
+
informés au préalable de la possibilité de tels dommages.
|
|
152
|
+
|
|
153
|
+
Outre les droits expressément accordés dans les déclarations de brevet
|
|
154
|
+
ci-dessus, l'utilisation du présent logiciel peut être limitée par d'autres
|
|
155
|
+
droits, y compris des droits de brevet. La présente Licence n'accorde aucune
|
|
156
|
+
licence, expresse ou implicite, sur ces autres droits, y compris les droits de
|
|
157
|
+
brevet.
|