If you tap on one of your Pokemon in the inventory a wild menu appears! Swipe the page to go to the bottom to find that there's a "transfer" button. Tapping it yields a menu with the following text,
You can't take it back after it's transferred to the professor. Do you really want to transfer [pokemon species you tapped on] to the Professor?"
What's the point of this?