Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add save log for keras
Signed-off-by: zehao-intel <[email protected]>
  • Loading branch information
zehao-intel committed Jul 16, 2024
commit 5f50a34b18eefb67d5a43f529f1000201b212168
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def main(_):
quant_config = StaticQuantConfig()
q_model = quantize_model(FLAGS.input_model, quant_config, calib_dataloader)
q_model.save(FLAGS.output_model)

logger.info("Save quantized model to {}.".format(FLAGS.output_model))

if FLAGS.benchmark:
from neural_compressor.tensorflow import Model
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ def main(_):
quant_config = StaticQuantConfig()
q_model = quantize_model(FLAGS.input_model, quant_config, calib_dataloader)
q_model.save(FLAGS.output_model)
logger.info("Save quantized model to {}.".format(FLAGS.output_model))

if FLAGS.benchmark:
from neural_compressor.tensorflow import Model
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ def main(_):
quant_config = StaticQuantConfig()
q_model = quantize_model(FLAGS.input_model, quant_config, calib_dataloader)
q_model.save(FLAGS.output_model)
logger.info("Save quantized model to {}.".format(FLAGS.output_model))

if FLAGS.benchmark:
from neural_compressor.tensorflow import Model
Expand Down