| CPC G03F 1/70 (2013.01) [G03F 7/705 (2013.01); G06F 30/27 (2020.01); G06F 30/398 (2020.01); G06N 3/094 (2023.01); G06F 2119/18 (2020.01); G06N 3/0455 (2023.01); G06N 3/0475 (2023.01)] | 17 Claims | 

| 
               1. A method, comprising: 
            compressing, by a processor, an image comprising first patterns, by transforming the image into a first representation formed of two-point elements, the image covering a surface contained in a plane; 
                wherein the image is compressed by: 
                projecting a vertex of a first polygon of the image onto a first point of a first curve running throughout a first surface of the plane; and 
                  projecting the vertex onto a second point of a second curve running throughout a second surface around the first point, the second surface having an area smaller than the area of the first surface; 
                executing, by a neural network, an inference operation on the first representation to generate a second representation formed of two-point elements; and 
                generating a lithographic mask based on decompression of the second representation. 
               |