python -m espnet_onnx.export \ --model_type asr \ --input ./asr_train_asr_conformer3_raw_char_batch_bins4000000_accum_grad4_sp_valid.acc.ave.zip \ --tag transformer_lm \ --output /home/sunzhq/workspace/yidong-infer/conformer/onnx_models_1 \ --apply_optimize \ --max_seq_len 2048 # --batch_size 24 # --model_type {asr,tts} # task type # --input INPUT path to the zip file. # --tag TAG model name. # --output OUTPUT Path to the output model directory.If not provided, then output=${HOME}/.cache/espnet_onnx # --apply_quantize apply quantization # --apply_optimize apply optimization # --only_onnxruntime apply optimization with onnxruntime. # --use_gpu apply optimization for GPU execution # --float16 Convert all weights and nodes in float32 to float16