Neymar said he is retiring from playing for Brazil after his team's World Cup exit at the hands of Norway in the round of 16 on Sunday.