Yes, Life of Pi is literary fiction. It is a novel by Yann Martel that was first published in 2001.