Code Transform Model Producing High-Performance Program  被引量:1

在线阅读下载全文

作  者:Bao Rong Chang Hsiu-Fen Tsai Po-Wen Su 

机构地区:[1]Department of Computer Science and Information Engineering,National University of Kaohsiung,Kaohsiung,Taiwan [2]Department of Fragrance and Cosmetic Science,Kaohsiung Medical University,Kaohsiung,Taiwan

出  处:《Computer Modeling in Engineering & Sciences》2021年第10期253-277,共25页工程与科学中的计算机建模(英文)

基  金:This work is fully supported by the Ministry of Science and Technology,Taiwan,Republic of China,under Grant Nos.MOST 110-2622-E-390-001 and MOST 109-2622-E-390-002-CC3.

摘  要:This paper introduces a novel transform method to produce the newly generated programs through code transform model called the second generation of Generative Pre-trained Transformer(GPT-2)reasonably,improving the program execution performance significantly.Besides,a theoretical estimation in statistics has given the minimum number of generated programs as required,which guarantees to find the best one within them.The proposed approach can help the voice assistant machine resolve the problem of inefficient execution of application code.In addition to GPT-2,this study develops the variational Simhash algorithm to check the code similarity between sample program and newly generated program,and conceives the piecewise longest common subsequence algorithm to examine the execution’s conformity from the two programs mentioned above.The code similarity check deducts the redundant generated programs,and the output conformity check finds the best-performing generative program.In addition to texts,the proposed approach can also prove the other media,including images,sounds,and movies.As a result,the newly generated program outperforms the sample program significantly because the number of code lines reduces 27.21%,and the program execution time shortens 24.62%.

关 键 词:Newly generated programs GPT-2 predetermined generative programs variational Simhash algorithm piecewise longest common subsequence 

分 类 号:TN9[电子电信—信息与通信工程]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象