minor fix

This commit is contained in:
ton
2023-08-16 12:00:16 +07:00
parent 6b2bfa4628
commit a53fe45c1b

View File

@@ -168,7 +168,7 @@ function kfn_1(params::Dict; device=cpu)
# ---------------------------------------------------------------------------- #
# row*col is a 2D matrix represent all RSNN activation
row, col, batch = kfn.params[:inputPort][:signal][:numbers] # z-axis represent signal batch number
col += kfn.params[:inputPort][:noise][:numbers][2]
kfn.inputSize = [row, col] |> device
col += kfn.params[:computeNeuron][:lif][:numbers][2]
col += kfn.params[:computeNeuron][:alif][:numbers][2]