Skip to content

Commit

Permalink
#8895: Fix dump_tensor(...) API to provide default arg
Browse files Browse the repository at this point in the history
  • Loading branch information
cfjchu authored and tt-aho committed Jun 1, 2024
1 parent 66207ac commit 3237870
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tt_eager/tt_lib/csrc/tt_lib_bindings_tensor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -922,6 +922,9 @@ void TensorModule(py::module& m_tensor) {
m_tensor.def(
"dump_tensor",
&dump_tensor,
py::arg("filename"),
py::arg("tensor"),
py::arg("strategy") = std::unordered_map<std::string, std::string>{},
R"doc(
Dump tensor to file
)doc");
Expand Down

0 comments on commit 3237870

Please sign in to comment.