Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Using Raspberry Pi GPU for DNN

12,280 views

Published on

for https://connpass.com/event/64632/

Published in: Software
  • Hello! Get Your Professional Job-Winning Resume Here - Check our website! https://vk.cc/818RFv
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

Using Raspberry Pi GPU for DNN

  1. 1. • •
  2. 2. • •
  3. 3. • • • • • • • •
  4. 4. • • • • •
  5. 5. • • •
  6. 6. • • •
  7. 7. • rotate(broadcast, r1, 0) fmul(r3, r4, r5) fadd(ra0, ra0, r3) rotate(broadcast, r1, 1) fmul(r3, r4, r5) fadd(ra1, ra1, r3) rotate(broadcast, r1, 2) fmul(r3, r4, r5) fadd(ra1, ra1, r3)
  8. 8. • rotate(broadcast, r1, 0) fmul(r3, r4, r5) fadd(ra0, ra0, r3) rotate(broadcast, r1, 1) fmul(r3, r4, r5) fadd(ra1, ra1, r3) rotate(broadcast, r1, 2) fmul(r3, r4, r5) fadd(ra1, ra1, r3)
  9. 9. • rotate(broadcast, r1, 0) fmul(r3, r4, r5) rotate(broadcast, r1, 1) fadd(ra0, ra0, r3).fmul(r3, r4, r5) rotate(broadcast, r1, 2) fadd(ra1, ra1, r3).fmul(r3, r4, r5) rotate(broadcast, r1, 3) fadd(ra2, ra2, r3).fmul(r3, r4, r5) rotate(broadcast, r1, 4)
  10. 10. • • • • • • •
  11. 11. • • • • •
  12. 12. • • • • • • • •
  13. 13. • • • • • • •
  14. 14. • • •
  15. 15. • • •
  16. 16. rotate(broadcast, r1, -13) fadd(rb[14], rb[14], r3).fmul(r3, r4, r5) rotate(broadcast, r1, -14) fadd(ra[14], ra[14], r3).fmul(r3, r4, r5) iadd(null, element_number, -15, set_flags=True).rotate(broadcast, r1, -15) isub(r2, r2, 1, cond='zs') jzc(L.loop)
  17. 17. rotate(broadcast, r1, -13) fadd(rb[14], rb[14], r3).fmul(r3, r4, r5) rotate(broadcast, r1, -14) fadd(ra[14], ra[14], r3).fmul(r3, r4, r5) iadd(null, element_number, -15, set_flags=True).rotate(broadcast, r1, -15) isub(r2, r2, 1, cond='zs') jzc(L.loop)
  18. 18. rotate(broadcast, r1, -13) fadd(rb[14], rb[14], r3).fmul(r3, r4, r5) rotate(broadcast, r1, -14) fadd(ra[14], ra[14], r3).fmul(r3, r4, r5) iadd(null, element_number, -15, set_flags=True).rotate(broadcast, r1, -15) isub(r2, r2, 1, cond='zs') jzc(L.loop)
  19. 19. rotate(broadcast, r1, -13) fadd(rb[14], rb[14], r3).fmul(r3, r4, r5) iadd(null, element_number, -14, set_flags=True).rotate(broadcast, r1, -14) fadd(ra[14], ra[14], r3, set_flags=False).fmul(r3, r4, r5) iadd(r2, r2, -1, cond='zs').rotate(broadcast, r1, -15) jzc(L.loop) rotate(broadcast, r1, -13) fadd(rb[14], rb[14], r3).fmul(r3, r4, r5) rotate(broadcast, r1, -14) fadd(ra[14], ra[14], r3).fmul(r3, r4, r5) iadd(null, element_number, -15, set_flags=True).rotate(broadcast, r1, -15) isub(r2, r2, 1, cond='zs') jzc(L.loop)
  20. 20. rotate(broadcast, r1, -13) fadd(rb[14], rb[14], r3).fmul(r3, r4, r5) iadd(null, element_number, -14, set_flags=True).rotate(broadcast, r1, -14) fadd(ra[14], ra[14], r3, set_flags=False).fmul(r3, r4, r5) iadd(r2, r2, -1, cond='zs').rotate(broadcast, r1, -15) jzc(L.loop) rotate(broadcast, r1, -13) fadd(rb[14], rb[14], r3).fmul(r3, r4, r5) rotate(broadcast, r1, -14) fadd(ra[14], ra[14], r3).fmul(r3, r4, r5) iadd(null, element_number, -15, set_flags=True).rotate(broadcast, r1, -15) isub(r2, r2, 1, cond='zs') jzc(L.loop)
  21. 21. iadd(null, element_number, -13, set_flags=True).rotate(broadcast, r1, -13) fadd(rb[14], rb[14], r3, set_flags=False).fmul(r3, r4, r5) isub(r2, r2, -14, cond='zs', set_flags=False).rotate(broadcast, r1, -14) fadd(ra[14], ra[14], r3, set_flags=False).fmul(r3, r4, r5) iadd(r2, r2, -15, cond='zs').rotate(broadcast, r1, -15) jzc(L.loop) rotate(broadcast, r1, -13) fadd(rb[14], rb[14], r3).fmul(r3, r4, r5) rotate(broadcast, r1, -14) fadd(ra[14], ra[14], r3).fmul(r3, r4, r5) iadd(null, element_number, -15, set_flags=True).rotate(broadcast, r1, -15) isub(r2, r2, 1, cond='zs') jzc(L.loop)
  22. 22. iadd(null, element_number, -13, set_flags=True).rotate(broadcast, r1, -13) fadd(rb[14], rb[14], r3, set_flags=False).fmul(r3, r4, r5) isub(r2, r2, -14, cond='zs', set_flags=False).rotate(broadcast, r1, -14) fadd(ra[14], ra[14], r3, set_flags=False).fmul(r3, r4, r5) iadd(r2, r2, -15, cond='zs').rotate(broadcast, r1, -15) jzc(L.loop) rotate(broadcast, r1, -13) fadd(rb[14], rb[14], r3).fmul(r3, r4, r5) rotate(broadcast, r1, -14) fadd(ra[14], ra[14], r3).fmul(r3, r4, r5) iadd(null, element_number, -15, set_flags=True).rotate(broadcast, r1, -15) isub(r2, r2, 1, cond='zs') jzc(L.loop)
  23. 23. • • • • • • • 1 99.58% cicada, cicala 2 0.19% cockroach, roach 3 0.06% cricket 4 0.05% grasshopper, hopper 5 0.04% leafhopper 6 0.02% lacewing, lacewing fly 7 0.01% barn spider, Araneus cavaticus 8 0.00% ground beetle, carabid beetle 9 0.00% isopod 10 0.00% mantis, mantid
  24. 24.
  25. 25.
  26. 26.
  27. 27.
  28. 28.
  29. 29. • •
  30. 30. • •

×