We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b0e1e3 commit 665585bCopy full SHA for 665585b
include/mli_iterator.hpp
@@ -1003,7 +1003,7 @@ class TensorIterator {
1003
} else { // Middle iteration
1004
copysize[dim] = m_config.get_size(r);
1005
}
1006
- copysize[dim] = MIN(m_full_tensor.get_dim(dim) - m_pos[dim], copysize[dim]);
+ copysize[dim] = MIN(m_full_tensor.get_dim(dim) - pos[dim], copysize[dim]);
1007
1008
return m_full_tensor.slice(pos, copysize);
1009
0 commit comments