The study of the multi-agent task allocation problem with multiple depots is crucial for investigating collaboration. Although many traditional heuristic algorithms can be adopted to handle concerned problem, they are not able efficiently obtain optimal or suboptimal solutions. To this end, a graph attention pointer network built in paper deal problem. Specifically, multi-head mechanism employe...