Update the sample rate function call since the API is changed

Summary:
With the update of the sample rate API, caffe2_benchmark needs to be changed as well.

Tested building the caffe2_benchmark and running the program on an android phone. See the delay metrics reported in adb.
Closes https://github.com/caffe2/caffe2/pull/1419

Reviewed By: Maratyszcza

Differential Revision: D6221101

Pulled By: sf-wind

fbshipit-source-id: 77a06ecce55b54cff8b9fa0aef857bc542a5f371
1 file changed
tree: f3c7710eb172e1a57c7e061625bd4307ff73b3cc
  1. .travis/
  2. caffe/
  3. caffe2/
  4. cmake/
  5. conda/
  6. docker/
  7. docs/
  8. modules/
  9. scripts/
  10. third_party/
  11. .Doxyfile
  12. .Doxyfile-c
  13. .Doxyfile-python
  14. .gitattributes
  15. .gitignore
  16. .gitmodules
  17. .travis.yml
  18. appveyor.yml
  19. CMakeLists.txt
  20. LICENSE
  21. Makefile
  22. NOTICE
  23. README.md
  24. release-notes.md
README.md

Caffe2

License TravisCI Build Status Appveyor Build Status

Caffe2 is a lightweight, modular, and scalable deep learning framework. Building on the original Caffe, Caffe2 is designed with expression, speed, and modularity in mind.

News and Events

Caffe2 research award competition request for proposals

Questions and Feedback

Please use Github issues (https://github.com/caffe2/caffe2/issues) to ask questions, report bugs, and request new features.

Please participate in our survey (https://www.surveymonkey.com/r/caffe2). We will send you information about new releases and special developer events/webinars.

License

Caffe2 is released under the Apache 2.0 license. See the NOTICE file for details.

Further Resources on Caffe2.ai