mirror of
https://github.com/marian-nmt/marian.git
synced 2024-09-11 06:15:56 +03:00
debug
This commit is contained in:
parent
142a1e5435
commit
44dad9b45c
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user