diff --git a/src/lava/lib/dl/netx/hdf5.py b/src/lava/lib/dl/netx/hdf5.py index a407cb79..a9a7fc17 100644 --- a/src/lava/lib/dl/netx/hdf5.py +++ b/src/lava/lib/dl/netx/hdf5.py @@ -389,7 +389,6 @@ def create_dense(layer_config: h5py.Group, f' Clamping the delays.') delay = np.clip(delay, a_min=0, a_max=62) - if np.isscalar(delay): delay = delay * np.ones_like(weight) elif len(delay.shape) == 1: # delay is one dimensional