output_param_string, &expected_output_param));
NetParameter actual_output_param;
insert_splits(input_param, &actual_output_param);
- CHECK_EQ(expected_output_param.DebugString(),
- actual_output_param.DebugString());
EXPECT_EQ(expected_output_param.DebugString(),
actual_output_param.DebugString());
}
blob_name_to_bottom_split_idx[blob_name] = 0;
}
}
+ // Create split layer for any input blobs user by other layers as bottom
+ // blobs more than once.
for (int i = 0; i < param.input_size(); ++i) {
const string& blob_name = param.input(i);
const int split_count = blob_name_to_bottom_count[blob_name];
layer_connection->set_bottom(j, split_blob_name);
}
}
- // Create split blob for any top blobs used by other layers as bottom
+ // Create split layer for any top blobs used by other layers as bottom
// blobs more than once.
for (int j = 0; j < layer_connection->top_size(); ++j) {
const string& blob_name = layer_connection->top(j);