Abstract: Highlights•Constructing a Heterogeneous Code Graph (HCG) to fuse the syntactic and sequential features of source code.•Proposing the HetCoS model to extract the heterogeneous HCG features for code summarization.•Performing extensive experiments to demonstrate the outperformance of HetCoS over the state-of-the-arts.
Loading