hclhkbu / dlbench

Benchmarking State-of-the-Art Deep Learning Software Tools
http://dlbench.comp.hkbu.edu.hk/
MIT License
170 stars 47 forks source link

Minor performance tweaks to match the guide. #16

Closed tfboyd closed 7 years ago

tfboyd commented 7 years ago

I believe these are still NHWC which I did not want to mess with. I fixed the following:

Some people think that the batch_norm is not doing beta and gamma. Check the code it is built into the function you should do not control how it is initialized.

Finally, the changes I made are not esoteric. I just added the basic that I would suggest for anyone else. I might change it over to NCHW but this seemed good enough for now. I think we are about to push a "crazy" alexnet in our benchmark that uses some fun staging ops but I did not want to mess up your scripts.

tfboyd commented 7 years ago

thank you @shyhuai If you have any questions just ask. This is not perfect but a little better without too much work.

FreemanX commented 7 years ago

Thank you for contributing to the project!

shyhuai commented 7 years ago

@tfboyd many thanks for your contribution and the detailed comments in improving the codes. We will update the results to our website soon.