Skip to content

Commit

Permalink
Update torch_to_onnx_exporter.py
Browse files Browse the repository at this point in the history
  • Loading branch information
dbogunowicz committed Jun 12, 2023
1 parent ec62ff4 commit 6dbf554
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sparseml/pytorch/torch_to_onnx_exporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def post_validate(self, model: onnx.ModelProto) -> onnx.ModelProto:
return model

def transform(
self, module: torch.nn.Module, file_name: str = "model.onnx"
self, module: torch.nn.Module, file_name: str
) -> onnx.ModelProto:
file_path = os.path.join(os.getcwd(), file_name)

Expand Down

0 comments on commit 6dbf554

Please sign in to comment.