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 data sequence generation method, device, equipment and medium, comprising: acquiring initial data, extracting depth features, generating a depth feature map, fusing the initial data and the depth feature map to obtain a joint feature representation, generating an initial data unit based on the joint feature representation, setting a current data unit and a preorder data unit thereof, generating a motion complexity feature, generating a dynamic threshold
mask, executing sparse attention
processing by applying the dynamic threshold
mask, generating a next data unit, updating the preorder data unit and the current data unit, and circulating the process. And performing
time sequence processing by combining the initial data unit and the plurality of iterative data units to form a data sequence. According to the method, the attention
sparse structure is dynamically controlled by combining the depth feature and the motion complexity feature, and the calculation efficiency and the
time sequence continuity in the data sequence
generation process are improved.