Skip to content

Commit

Permalink
Update cts generator for per channel 1
Browse files Browse the repository at this point in the history
Signed-off-by: cuiyanx <[email protected]>
  • Loading branch information
cuiyanx committed Mar 10, 2020
1 parent bac8ea9 commit cb8e2be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/select_per_channel/cts_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ def DumpJSTest(model, example, js_fd):
print (" model.addOperand(%s);"%op.type, file = js_fd)

if str(op.type) in per_channel_types.keys():
print (" model.setOperandSymmPerChannelQuantParams(%s, %s);"%(op.type, per_channel_types[str(op.type)]), file = js_fd)
print (" model.setOperandSymmPerChannelQuantParams(operandIndex++, %s);"%per_channel_types[str(op.type)], file = js_fd)
print ("", file = js_fd)

# set other inputs value(support only one input)
Expand Down

0 comments on commit cb8e2be

Please sign in to comment.