Resnet block as described in the paper.
res_block_1d(nf, ks = c(5, 3))
nf
number of features
ks
kernel size
block