chore: print for clarified information in pytorch2onnx_kneron
This commit is contained in:
parent
caaa31c231
commit
4d7356fda7
@ -227,9 +227,9 @@ def pytorch2onnx(model,
|
|||||||
m.graph, i_n.name, norm_bn_bias, norm_bn_scale
|
m.graph, i_n.name, norm_bn_bias, norm_bn_scale
|
||||||
)
|
)
|
||||||
m = other.polish_model(m)
|
m = other.polish_model(m)
|
||||||
bn_outf = os.path.splitext(output_file)[0] + "_kneron_optimized.onnx"
|
bn_outf = os.path.splitext(output_file)[0] + "_bn_prepended.onnx"
|
||||||
onnx.save(m, bn_outf)
|
onnx.save(m, bn_outf)
|
||||||
print(f"ONNX for quantization saved to {bn_outf}")
|
print(f"BN-Prepended ONNX saved to {bn_outf}")
|
||||||
|
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user