The best anchor

We have know that every target box is predicted by the best anchor which have the highest iou with it. In yolov3, there are three prediction layers. I have a question about the best anchor.Whether to compute the best anchor in each layer or among the three prediction layers?