The invention relates to the technical field of
artificial intelligence, can be applied to business scenes of financial science and technology,
medical health and the like, and discloses a
layout generation method, device, equipment and medium based on multi-
granularity attention, and the method comprises the steps: obtaining original depth data, carrying out the
standardization processing of the original depth data, and obtaining the standardized depth data; the method comprises the steps of obtaining standardized depth data, extracting a multi-scale
depth perception feature set from the standardized depth data, generating a multi-
granularity attention weight set based on the multi-scale
depth perception feature set and the standardized depth data, performing weighted fusion
processing on the multi-
granularity attention weight set to generate fusion features, and generating
layout data based on the fusion features. Through a depth-driven
feature extraction mechanism and an attention resolution regulation and control method, granularity self-adaptive modeling of different space depth regions is realized, so that the detail retention capability of a near-end region is improved, the calculation redundancy of a far-end region is reduced, and the spatial resolution capability of
layout output and the overall modeling efficiency are effectively enhanced.