Skip to content

Commit

Permalink
fix(clang-format): signed/unsigned comparaison
Browse files Browse the repository at this point in the history
  • Loading branch information
sileht committed Oct 1, 2020
1 parent 0ccabb6 commit af8e144
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/backends/caffe/caffelib.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3845,7 +3845,7 @@ namespace dd
return false;
lparam->mutable_memory_data_param()->set_channels(timesteps);
// also update timesteps in case of autoencoder
for (unsigned int i = 0; i < deploy_net_param.layer_size(); ++i)
for (int i = 0; i < deploy_net_param.layer_size(); ++i)
{
caffe::LayerParameter *lp = deploy_net_param.mutable_layer(i);
if (lp->has_tile_param())
Expand Down Expand Up @@ -4074,7 +4074,7 @@ namespace dd
}

// update tile number with time steps (autoencoder)
for (unsigned int i = 0; i < net_param.layer_size(); ++i)
for (int i = 0; i < net_param.layer_size(); ++i)
{
caffe::LayerParameter *lp = net_param.mutable_layer(i);
if (lp->has_tile_param())
Expand Down Expand Up @@ -4187,7 +4187,7 @@ namespace dd
}

// update tile number with time steps (autoencoder)
for (unsigned int i = 0; i < deploy_net_param.layer_size(); ++i)
for (int i = 0; i < deploy_net_param.layer_size(); ++i)
{
caffe::LayerParameter *lp = deploy_net_param.mutable_layer(i);
if (lp->has_tile_param())
Expand Down

0 comments on commit af8e144

Please sign in to comment.