Learning with average precision: Training image retrieval with a listwise loss - Naver Labs Europe