From 32378709ed8cb20f04739d19b974f6d3477a5009 Mon Sep 17 00:00:00 2001 From: Joseph Chu Date: Sat, 1 Jun 2024 07:14:36 +0000 Subject: [PATCH] #8895: Fix dump_tensor(...) API to provide default arg --- tt_eager/tt_lib/csrc/tt_lib_bindings_tensor.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tt_eager/tt_lib/csrc/tt_lib_bindings_tensor.cpp b/tt_eager/tt_lib/csrc/tt_lib_bindings_tensor.cpp index 995235929aa..32f3837667a 100644 --- a/tt_eager/tt_lib/csrc/tt_lib_bindings_tensor.cpp +++ b/tt_eager/tt_lib/csrc/tt_lib_bindings_tensor.cpp @@ -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{}, R"doc( Dump tensor to file )doc");