Heterogeneous graph neural network for identifying hadronically decayed tau leptons at the high luminosity LHC