According to national broadcaster NHK, Japanese Prime Minister Shinzo Abe has accepted his resignation.