检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:李澎林[1] 余孝琴 李伟[1] LI Penglin;YU Xiaoqin;LI Wei(College of Computer Science and Technology,Zhejiang University of Technology,Hangzhou 310023,China)
机构地区:[1]浙江工业大学计算机科学与技术学院,浙江杭州310023
出 处:《浙江工业大学学报》2023年第4期372-376,共5页Journal of Zhejiang University of Technology
摘 要:针对传统GUI代码生成方法在准确率和性能上的不足,提出了一种新颖的结合双维注意力与特征融合的GUI代码生成方法。该方法首先利用视觉特征网络提取图像特征、DSL编码网络编码上下文向量;然后利用双维注意力模块对图像特征与上下文向量进行高效筛选,得到空间、通道两个维度上的带权图像特征;最后利用特征融合单元将带权图像特征与上下文向量进行对齐,使得图像特征同时包含预测代码所需的视觉信息与语义信息,协助模型更加快速、准确地解码生成目标代码。实验结果表明笔者方法代码生成准确率和BLEU分数表现优于多个对比模型和方法。Aiming at the shortcomings of traditional GUI code generation methods in accuracy and performance,a novel GUI code generation method combining two-dimensional attention and feature fusion is proposed.Firstly,the method uses visual feature network to extract image features and coding context vector of DSL coding network.Then,the image features and context vectors are filtered efficiently through the two-dimensional attention module,and the weighted image features in the spatial dimension and channel dimensions are obtained.Finally,the feature fusion unit is used to align the weighted image features with the context vector,so that the image features contain both visual information and semantic information required by the prediction code.It can be helpful for the model to decode and generate the target code more quickly and accurately.The experimental results show that the code generation accuracy and BLEU score of the author s method are better than many comparison models and methods.
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.171