Skip to content

Commit

Permalink
Fix formatting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewDaggitt committed Jan 24, 2025
1 parent 4722a3a commit 8e6db4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/input_parsers/TensorUtils.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ Vector<T> transposeTensor( Vector<T> tensor, TensorShape shape, Permutation perm
// NOTE this implementation is *very* inefficient. Eventually we might want to
// switch to a similar implementation as NumPy arrays with internal strides etc.
ASSERT( shape.size() == permutation.size() );
ASSERT( tensorSize(shape) == tensor.size() );
ASSERT( tensorSize( shape ) == tensor.size() );

TensorShape transposedShape = transposeVector( shape, permutation );
Vector<T> result( tensor.size() );
Expand Down

0 comments on commit 8e6db4b

Please sign in to comment.