Created by: LiuChiachi
New features
APIs
update the function save_inference_model to support dynamic mode.