From 93e03ae46312e2706c152bfe6b54dec7742c7963 Mon Sep 17 00:00:00 2001 From: Alejandro Saucedo Date: Sun, 8 Nov 2020 15:54:41 +0000 Subject: [PATCH] Updated function create_sequence to have default param for create_sequence name to empty string --- python/src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/src/main.cpp b/python/src/main.cpp index 265df8f52..59d16abbb 100644 --- a/python/src/main.cpp +++ b/python/src/main.cpp @@ -99,7 +99,7 @@ PYBIND11_MODULE(kp, m) { }), "Manager initialiser can provide specified device and array of GPU queueFamilies to load.") .def("get_create_sequence", &kp::Manager::getOrCreateManagedSequence, "Get a Sequence or create a new one with given name") .def("create_sequence", &kp::Manager::createManagedSequence, - py::arg("name"), py::arg("queueIndex") = 0, "Create a sequence with specific name and specified index of available queues") + py::arg("name") = "", py::arg("queueIndex") = 0, "Create a sequence with specific name and specified index of available queues") .def("build_tensor", &kp::Manager::buildTensor, py::arg("data"), py::arg("tensorType") = kp::Tensor::TensorTypes::eDevice, "Build and initialise tensor")