The invention discloses a scale-
adaptive logic comprehensive optimization circuit representation learning method, and belongs to the technical field of
integrated circuit design
automation. Comprising the following steps: constructing
circuit diagram data, and extracting node features, edge connection relationships and node depth information; a scale adaptive graph
encoder is constructed, a double-layer GCN and a multi-scale
feature fusion module are adopted, and scale adaptive node representation is generated through multi-hop neighborhood aggregation, circuit
perception gating and attention fusion; performing hierarchical
pooling based on the node depth to construct a hierarchical
graph sequence; carrying out embedded coding on the optimized sequence and injecting position information to obtain sequence representation; establishing bidirectional association between a circuit structure and optimization steps through a dynamic graph-sequence adaptive interaction module, and generating a
context sensing target sequence; and a Transform decoder is used for carrying out
sequence modeling and predicting a quality result track. According to the method, through scale self-adaption and a dynamic interaction mechanism, the problems of representation learning and optimization dynamic modeling of a heterogeneous scale circuit are solved.