File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -254,15 +254,15 @@ def __init__(
254254 self ,
255255 saved_model_path : str ,
256256 input_shape : tuple ,
257- export_params : bool = True ,
258- opset_version : int = 14 ,
259- do_constant_folding : bool = True ,
260- input_names : list = ['input' ],
261- output_names : list = ['output' ],
262- dynamic_axes : dict = {'input' : {0 : 'batch_size' },
263- 'output' : {0 : 'batch_size' }},
264- verbose : bool = False ,
265- metadata : dict = None ,
257+ export_params : bool = True ,
258+ opset_version : int = 14 ,
259+ do_constant_folding : bool = True ,
260+ input_names : list = ['input' ],
261+ output_names : list = ['output' ],
262+ dynamic_axes : dict = {'input' : {0 : 'batch_size' },
263+ 'output' : {0 : 'batch_size' }},
264+ verbose : bool = False ,
265+ metadata : dict = None ,
266266 ) -> None :
267267 """ Converts the model from PyTorch to ONNX format after training.
268268
You can’t perform that action at this time.
0 commit comments