Update trainer.py

change _create_layer to create_layer
Merge pull request #31 from reyoung/patch-2

Update trainer.py