62b38fec099eb8a94c61fa032d05b305a9b7984f,parser/cpp/python/nnef.py,,format_invocation,#Any#Any#Any#Any#Any#,117
Before Change
for (idx, result) in enumerate(results):
if idx != 0:
string += ", "
string += format_result(result)
if len(results) != 0:
string += " = "
string += name
if dtype is not None:
string += "<" + dtype + ">"
string += "("
idx = 0
for arg in args:
if idx != 0:
string += ", "
string += format_argument(arg)
idx += 1
for (key, value) in kwargs.items():
if idx != 0:
string += ", "
string += key
string += " = "
string += format_argument(value)
idx += 1
After Change
string = str()
if outputs is not None:
string += ", ".join([format_result(output) for output in outputs])
string += " = "
string += name
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 13
Instances
Project Name: KhronosGroup/NNEF-Tools
Commit Name: 62b38fec099eb8a94c61fa032d05b305a9b7984f
Time: 2019-02-26
Author: tamas.danyluk@aimotive.com
File Name: parser/cpp/python/nnef.py
Class Name:
Method Name: format_invocation
Project Name: hls-fpga-machine-learning/hls4ml
Commit Name: 937bbf91470f73a2979c4b86280f5d9a3e60f0c3
Time: 2020-05-18
Author: sioni.summers10@imperial.ac.uk
File Name: hls4ml/model/hls_layers.py
Class Name: IntegerPrecisionType
Method Name: __str__
Project Name: hls-fpga-machine-learning/hls4ml
Commit Name: 937bbf91470f73a2979c4b86280f5d9a3e60f0c3
Time: 2020-05-18
Author: sioni.summers10@imperial.ac.uk
File Name: hls4ml/model/hls_layers.py
Class Name: FixedPrecisionType
Method Name: __str__