This commit is contained in:
Hieu Hoang 2016-09-13 16:17:20 +02:00
parent 142a1e5435
commit 44dad9b45c

View File

@ -40,6 +40,7 @@ typedef std::vector<int> 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];