Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
remove reference
Browse files Browse the repository at this point in the history
  • Loading branch information
azai91 committed Jun 27, 2018
1 parent dd3e594 commit 4fdbe99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/cpp/operator/mkldnn.cc
Original file line number Diff line number Diff line change
Expand Up @@ -667,11 +667,11 @@ TEST(MKLDNN_NDArray, GetTestInputArraysConcat) {
for (int num_inputs = 2; num_inputs < 5; num_inputs++) {
std::vector<NDArrayAttrs> expanded_arrs = GetTestInputArrays(false, num_inputs, dim);
int i = 0;
for (auto &arr : in_arrs) {
for (auto arr : in_arrs) {
if (dim >= arr.arr.shape().ndim())
continue;
auto ex_arr = expanded_arrs[i];
PrintVerifyMsg(ex_arr, arr);
PrintVerifyMsg(arr, ex_arr);
EXPECT_EQ(arr.arr.shape().Size() * num_inputs, ex_arr.arr.shape().Size());
EXPECT_EQ(arr.arr.shape()[dim] * num_inputs, ex_arr.arr.shape()[dim]);
i++;
Expand Down

0 comments on commit 4fdbe99

Please sign in to comment.