Skip to content

Commit

Permalink
remove log
Browse files Browse the repository at this point in the history
  • Loading branch information
curioyang committed May 10, 2023
1 parent 81563a6 commit 3358565
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/kernels/cpu/reference/instancenorm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ result<void> reference::instancenorm(const T *input, T *output, T *scale, T *bia
auto inner_size = 1;
for (auto i = 2; i < static_cast<int>(in_shape.size()); i++)
inner_size *= in_shape[i];
std::cout << "inner_size = " << inner_size << std::endl;
for (int32_t batch = 0; batch < outer_size; batch++)
{
for (int32_t c = 0; c < in_shape[1]; c++)
Expand Down Expand Up @@ -64,10 +63,6 @@ result<void> reference::instancenorm(const T *input, T *output, T *scale, T *bia
dest[i] = sub[i] * scale[c] / sqrt + bias[c];
}
}
for (auto i = 0; i < 10; i++)
{
std::cout << "src[i] = " << input[i] << " --> dest[i] = " << output[i] << std::endl;
}

return ok();
}

0 comments on commit 3358565

Please sign in to comment.