mirror of
https://github.com/netfun2000/dddd_trainer.git
synced 2026-08-12 21:21:44 +08:00
Update __init__.py
This commit is contained in:
+1
-1
@@ -215,7 +215,7 @@ class Net(torch.nn.Module):
|
||||
def export_onnx(self, net, dummy_input, graph_path, input_names, output_names, dynamic_ax):
|
||||
torch.onnx.export(net, dummy_input, graph_path, export_params=True, verbose=False,
|
||||
input_names=input_names, output_names=output_names, dynamic_axes=dynamic_ax,
|
||||
opset_version=12, do_constant_folding=True, _retain_param_name=False)
|
||||
opset_version=12, do_constant_folding=True)
|
||||
|
||||
|
||||
@staticmethod
|
||||
|
||||
Reference in New Issue
Block a user