9a5bcc9c1bb6a3dbeaf6a1e32a0996f270069164,model_api/opennmt_model.py,ONMTmodelAPI,translate,#ONMTmodelAPI#Any#Any#Any#Any#,174
Before Change
currentDec["embed"] = []
topIx.append(currentDec)
topIxAttn.append(list(a))
if t in [".", "!", "?"] :
break
decoderRes.append(topIx)
attnRes.append(topIxAttn)
After Change
"embed": []})
res["encoder"] = encoderRes
os.write(1, bytes("\n PRED %d: %s\n" %
(1, " ".join(predBatch[0][0])), "UTF-8") )
// Fill decoder Result
decoderRes = []
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: HendrikStrobelt/Seq2Seq-Vis
Commit Name: 9a5bcc9c1bb6a3dbeaf6a1e32a0996f270069164
Time: 2017-08-17
Author: s.gehrmann@outlook.com
File Name: model_api/opennmt_model.py
Class Name: ONMTmodelAPI
Method Name: translate
Project Name: OpenNMT/OpenNMT-py
Commit Name: 63871d5ab3301d015805abddd8f4259680d6a24a
Time: 2017-09-21
Author: bpeters@coli.uni-saarland.de
File Name: translate.py
Class Name:
Method Name: main
Project Name: mil-tokyo/webdnn
Commit Name: 485e19e483e543fada5e64e50a9ab82cb6a91b24
Time: 2017-05-01
Author: y.kikura@gmail.com
File Name: src/graph_builder/backend/webgpu/meta_buffer_injector.py
Class Name: MetaBufferInjector
Method Name: generate_buffer