Skip to content
Snippets Groups Projects
Commit e476c39a authored by Nathan Thoumine's avatar Nathan Thoumine
Browse files

Specify expected file extension

parent e6c1c7fb
No related branches found
No related tags found
No related merge requests found
......@@ -43,7 +43,7 @@ void init_Graph(py::module& m)
.def("load", &Graph::load, py::arg("filepath"),
R"mydelimiter(
Load graph from a file.
Load a graph from a file, either a `.onnx` file or a `.trt` engine.
:param filepath: Path to the file.
:type filepath: str
......@@ -51,7 +51,7 @@ void init_Graph(py::module& m)
.def("save", &Graph::save, py::arg("filepath"),
R"mydelimiter(
Save graph to a file.
Save the current graph as a `.trt` engine.
:param filepath: Path to the file.
:type filepath: str
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment