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

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
stu1130 committed Jan 29, 2019
1 parent daa2b4b commit 9672091
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/operator/image/resize-inl.h
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ inline void Resize(const nnvm::NodeAttrs &attrs,
CHECK_EQ(outputs.size(), 1U);
const ResizeParam& param = nnvm::get<ResizeParam>(attrs.parsed);
SizeParam size;
#if MXNET_USE_CUDA
#if MXNET_USE_CUDA
if (std::is_same<xpu, gpu>::value) {
CHECK(param.interp == 1) << "GPU version only support bilinear interpolation";
mshadow::Stream<gpu> *s = ctx.get_stream<gpu>();
Expand All @@ -191,7 +191,7 @@ inline void Resize(const nnvm::NodeAttrs &attrs,
ResizeImplCUDA<DType, Tensor<gpu, 4, DType>, float>(s, input, output);
}
});
return ;
return;
}
#endif // MXNET_USE_CUDA
if (inputs[0].ndim() == 3) {
Expand Down

0 comments on commit 9672091

Please sign in to comment.