google / model_search

Apache License 2.0
3.26k stars 462 forks source link

fix BottleNeckBlock skip_connect bug #48

Open n3011 opened 3 years ago

n3011 commented 3 years ago

This PR fixes the bug related to skip_connet in the BottleNeckBlock block.

Instead of using the flattened tensor for getting the original dimension and adding with the output tensor, the original tensor was used, which will cause a shape mismatch error for an original input tensor with more than 2 dimensions.