Skip to content

Commit 17f914f

Browse files
committed
styling
1 parent 22e01d4 commit 17f914f

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

mltu/torch/callbacks.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)