This is not the case in our implementation as we only support one hidden layer. I would just remove that line.