CV4Code: Sourcecode Understanding via Visual Code Representations
We present CV4Code, a compact and effective computer vision method for sourcecode
understanding. Our method leverages the contextual and the structural information available
from the code snippet by treating each snippet as a two-dimensional image, which naturally
encodes the context and retains the underlying structural information through an explicit
spatial representation. To codify snippets as images, we propose an ASCII codepoint-based
image representation that facilitates fast generation of sourcecode images and eliminates …
understanding. Our method leverages the contextual and the structural information available
from the code snippet by treating each snippet as a two-dimensional image, which naturally
encodes the context and retains the underlying structural information through an explicit
spatial representation. To codify snippets as images, we propose an ASCII codepoint-based
image representation that facilitates fast generation of sourcecode images and eliminates …
Showing the best result for this search. See all results