Add files via upload
This commit is contained in:
parent
d51738832c
commit
3b70ae789a
1 changed files with 2 additions and 2 deletions
|
@ -130,9 +130,9 @@ class SbS(torch.nn.Module):
|
||||||
global_spike_size.append(torch.tensor([0, 0, 0, 0]))
|
global_spike_size.append(torch.tensor([0, 0, 0, 0]))
|
||||||
|
|
||||||
if device == torch.device("cpu"):
|
if device == torch.device("cpu"):
|
||||||
global_sbs_hdynamic_cpp.append(HDynamicCNNGPU())
|
|
||||||
else:
|
|
||||||
global_sbs_hdynamic_cpp.append(HDynamicCNNCPU())
|
global_sbs_hdynamic_cpp.append(HDynamicCNNCPU())
|
||||||
|
else:
|
||||||
|
global_sbs_hdynamic_cpp.append(HDynamicCNNGPU())
|
||||||
|
|
||||||
if device == torch.device("cpu"):
|
if device == torch.device("cpu"):
|
||||||
global_spike_generation_cpp.append(SpikeGenerationCPU())
|
global_spike_generation_cpp.append(SpikeGenerationCPU())
|
||||||
|
|
Loading…
Reference in a new issue