- before gradient checking