STANFORD, Calif. (AP) — David Shaw resigns as Stanford football coach after 12 seasons following Cardinal's season-ending loss to BYU.