mirror of
https://github.com/marian-nmt/marian.git
synced 2024-11-03 20:13:47 +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)
|
inline std::string Debug(const Shape &shape)
|
||||||
{
|
{
|
||||||
std::stringstream strm;
|
std::stringstream strm;
|
||||||
|
strm << shape[0];
|
||||||
assert(shape.size());
|
assert(shape.size());
|
||||||
for (size_t i = 1; i < shape.size(); ++i) {
|
for (size_t i = 1; i < shape.size(); ++i) {
|
||||||
strm << "x" << shape[i];
|
strm << "x" << shape[i];
|
||||||
|
Loading…
Reference in New Issue
Block a user