Solve warnings with a magic range class.

This commit is contained in:
2018-01-22 15:06:02 +01:00
parent 1c0235db4d
commit ef70f913bf
5 changed files with 43 additions and 6 deletions

View File

@@ -106,7 +106,6 @@ vector<LayerData> Simulator::Impl::simulate(const string& image_file)
const auto& names = net.layer_names();
const auto& results = net.top_vecs();
const auto& layers = net.layers();
for (unsigned int i = 0; i < names.size(); ++i) {
CHECK_EQ(results[i].size(), 1) << "Multiple outputs per layer are not supported!" << endl;