* Make float equal works well. * compare 0.01 and 0.009999999999 will return true.
Fix #342
* Fix lots of trainer_config_helpers bug, and complete unittest for `layers.py`