Add files via upload

This commit is contained in:
David Rotermund 2023-02-02 19:23:38 +01:00 committed by GitHub
parent d51738832c
commit 3b70ae789a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -130,9 +130,9 @@ class SbS(torch.nn.Module):
global_spike_size.append(torch.tensor([0, 0, 0, 0]))
if device == torch.device("cpu"):
global_sbs_hdynamic_cpp.append(HDynamicCNNGPU())
else:
global_sbs_hdynamic_cpp.append(HDynamicCNNCPU())
else:
global_sbs_hdynamic_cpp.append(HDynamicCNNGPU())
if device == torch.device("cpu"):
global_spike_generation_cpp.append(SpikeGenerationCPU())