a901f23f1d47519508df7d96eef815c725ef3d3a,transcribe.py,,,#,98
Before Change
print(json.dumps(results))
else:
decoded_output, decoded_offsets = decoder.decode(out.data)
for b in range(len(decoded_output)):
for pi in range(max(args.top_paths, len(decoded_output[b]))):
print(decoded_output[b][pi])
if args.offsets:
print(decoded_offsets[b][pi])
After Change
out = model(Variable(spect, volatile=True))
out = out.transpose(0, 1) // TxNxH
decoded_output, decoded_offsets = decoder.decode(out.data)
print(json.dumps(decode_results(decoded_output, decoded_offsets)))
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: SeanNaren/deepspeech.pytorch
Commit Name: a901f23f1d47519508df7d96eef815c725ef3d3a
Time: 2017-12-06
Author: seannaren@hotmail.com
File Name: transcribe.py
Class Name:
Method Name:
Project Name: cve-search/cve-search
Commit Name: 0c11680229ec321925d9b244a72ea5e06a7c7a6f
Time: 2013-03-30
Author: a@foo.be
File Name: search_fulltext.py
Class Name:
Method Name:
Project Name: tyarkoni/pliers
Commit Name: b9f0e3feb28a46b6ca7e4f533e4dfeb4b8fb14aa
Time: 2018-03-20
Author: delavega@utexas.edu
File Name: pliers/utils/updater.py
Class Name:
Method Name: hash_data