diff options
author | Frank Seide <fseide@microsoft.com> | 2019-02-07 10:50:33 +0300 |
---|---|---|
committer | Frank Seide <fseide@microsoft.com> | 2019-02-07 10:50:33 +0300 |
commit | 9b54e7f1caa86b16da84638a20566e8d5451c170 (patch) | |
tree | 01bafc932776eebff7600ce685d3e47ffb252ba7 /src/graph | |
parent | f88eb0d3687575cfe55f908ddad4617c9dc68ee2 (diff) |
further simplification/commenting of beam search
Diffstat (limited to 'src/graph')
-rwxr-xr-x | src/graph/expression_operators.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/graph/expression_operators.cpp b/src/graph/expression_operators.cpp index 8a79cbe0..5c37beef 100755 --- a/src/graph/expression_operators.cpp +++ b/src/graph/expression_operators.cpp @@ -536,7 +536,7 @@ Expr swapAxes(Expr x, int axis1, int axis2) return x; // TODO: This is code dup from transpose(x). Implement transpose(x) as swapAxes(x, 0, 1) std::vector<int> axes(x->shape().size()); - for (int i = 0; i < axes.size(); ++i) + for (int i = 0; i < axes.size(); ++i) // @TODO: use std::iota() axes[i] = i; std::swap(axes[axis1], axes[axis2]); return transpose(x, axes); |