Neural Network Shape / Structure
Are you using the Training set for testing ? What is your train test split ?

With Neural Nets, it's always the pyramid shape that works. This is because as you go deeper, data about the input is condensed and we get a proper representation of the input for outputting the required class or regression value.

The only reason reverse pyramid nets will work well is overfitting, which accommodates noise and does not generalize well. 

http://www.deeplearningbook.org/contents/mlp.html

Try the Bible of Deep Learning for more details.