↓ 4 callersMethod__init__(self, T, ch, ch_mult, num_res_blocks, dropout, bit=32, spike_time: int = 3)
ANN2SNN/spiking_model.py:133
Method__init__(self, model, beta_1, beta_T, T, img_size=32,
mean_type='xstart', var_type='fixedlarge',sampl
SDM/diffusion.py:60
Method__init__(self, in_ch, out_ch, tdim, dropout, attn=False, timestep=4, global_thres=1.0, use_cupy=False)
SDM/TSM.py:135
Method__init__(self, T, ch, ch_mult, attn, num_res_blocks, dropout, timestep, img_ch=3, global_thres=1.0, use_cupy=False)
SDM/TSM.py:223
Method__init__(self, in_channels, out_channels, kernel_size, stride=1, padding=0, dilation=1, groups=1,
bia
ANN2SNN/quant_layer.py:167
Method__init__(self, inplace: bool = False, bit=5, power=False, additive=True, grad_scale=None)
ANN2SNN/quant_layer.py:211
Method__init__(self, inplace: bool = False, bit=5, power=False, additive=True, grad_scale=None)
ANN2SNN/quant_layer.py:246
Method__init__(self, kernel_size, stride, bit=5, power=False, additive=True, grad_scale=None)
ANN2SNN/quant_layer.py:278
Method__init__(self, in_features, out_features, bias=True, bit=5, power=True, additive=True, grad_scale=None)
ANN2SNN/quant_layer.py:310
Method__init__(self, in_channels, out_channels, kernel_size, stride=1, padding=0, dilation=1, groups=1, bias=False)
ANN2SNN/quant_layer.py:351
Method__init__(self, in_ch, out_ch, tdim, dropout, bit, spike_time: int = 3)
ANN2SNN/spiking_model.py:89