From 44dad9b45ca84a4a83f2f6a7ddf514978566491a Mon Sep 17 00:00:00 2001 From: Hieu Hoang Date: Tue, 13 Sep 2016 16:17:20 +0200 Subject: [PATCH] debug --- src/tensor.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tensor.h b/src/tensor.h index 2707a564..487a553a 100644 --- a/src/tensor.h +++ b/src/tensor.h @@ -40,6 +40,7 @@ typedef std::vector Shape; inline std::string Debug(const Shape &shape) { std::stringstream strm; + strm << shape[0]; assert(shape.size()); for (size_t i = 1; i < shape.size(); ++i) { strm << "x" << shape[i];