Skip to content

Commit

Permalink
Merge pull request pfnet-research#4 from mwata/input_names
Browse files Browse the repository at this point in the history
Add input names
  • Loading branch information
masakiwatanabe authored and GitHub Enterprise committed Mar 31, 2023
2 parents c59b903 + 9713fa7 commit 3fa66ac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion export_static_onnx.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,4 +134,5 @@ def prepare_data(args):
print("energy = ", float(exporter.forward(**args)), "eV")

print("out_dir = ", out_dir, file=sys.stderr)
ppe_onnx.export_testcase(exporter, tuple(args.values()), out_dir, verbose=True)
ppe_onnx.export_testcase(exporter, tuple(args.values()), out_dir, verbose=True,
input_names=["Z","pos","shift_vecs","cell_volume","triu"])

0 comments on commit 3fa66ac

Please sign in to comment.