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

Commit

Permalink
Fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
sandeep-krishnamurthy committed Feb 2, 2019
1 parent 692fa60 commit 46d1fa7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/operator/image/image_random-inl.h
Original file line number Diff line number Diff line change
Expand Up @@ -163,11 +163,11 @@ template<int req>
struct normalize_forward {
template<typename DType>
MSHADOW_XINLINE static void Map(uint32_t c, DType* out_data, const DType* in_data,
const NormalizeParam &param, const int length,
const NormalizeParam &param, const int length,
const int step) {
DType mean = param.mean[param.mean.ndim() > c ? c : 0];
DType std_dev = param.std[param.std.ndim() > c ? c : 0];

#pragma omp parallel for
for (int i = 0; i < length; ++i) {
KERNEL_ASSIGN(out_data[step + c*length + i], req,
Expand Down

0 comments on commit 46d1fa7

Please sign in to comment.