numnum
play

NumNum A matrix manipulation language Meet our team Art Zuks: - PowerPoint PPT Presentation

NumNum A matrix manipulation language Meet our team Art Zuks: Kaustubh Gopal Paul Czopowik: k: Sharon Chen: David d Tofu: System Chiplunka kar: r: Manager Tester Tester Architect Language GS SEAS '19 SEAS '19


  1. NumNum A matrix manipulation language

  2. Meet our team Art Zuks: Kaustubh Gopal Paul Czopowik: k: Sharon Chen: David d Tofu: System Chiplunka kar: r: Manager Tester Tester ● ● ● ● Architect Language GS SEAS '19 SEAS '19 ● ● ● ● CSMS Guru CS Major CS major ● ● ● MSCE ●

  3. Project Planning We used many cutting-edge tools to help manage our project workflow

  4. Development Timeline C style le function on Floats Pri rint nt function ons Strings rings declaration n in favor vor of Pyth ython on Func Matrix rix take kes Working king AST with h Matrix rix access Hello lo any type Matrixe rixes World ld! Static Arrays ys LLVM elif, bytes es, file le I/O Demo impli licit type e conver ersio sion

  5. Test Suite

  6. While we coded ● About the For corner cases ● For semantic checking, ● Test Suite codegen, pretty-printing ● For both our syntax and language logic How We Wrote It Wrote fails ● Built upon the Micro-C test ● suite

  7. An Example Element-Wise Multiplication Semantic Checking Tester

  8. numnum A simple le C-like ike matrix trix manipulation pulation languag age ● Stack allocated arrays support Matrix ● File I/O ● Implicit casting

  9. Quick guide for Programming in numnum

  10. File IO ● Reads into byte, int and float matrix from a binary file Writes out matrices to files ● Properly closes file descriptors for the user ●

  11. Read

  12. Write

  13. Type Casting ● Completely implicit Converts to the type that is being assigned to ● For binary operations converts right side to left side type ●

  14. Operation Casting

  15. Assign Casting

  16. Demo 1 Image Manipulation

  17. Image Transformation Colored to BW image conversion ● Blurring with a Gaussian Blur filter ● ● Edge detection using kernels

  18. Image Transformation Using a python script we strip off the headers of the image ● ● Read the image into an array ● Read the RGB values into float temp variables, using implicit type conversion Perform a weighted sum of rgb values ● Assign the float sum back to all the rgb values ● Write back to the same image ●

  19. Mirror Reflection Flip

  20. Demo 2 Optical Character Recognition (OCR) with MNIST

  21. Neural Network Character Recognition Used the MNIST database to train a simple neural network for handwritten ● image recognition ● Used File IO to load the trained weights in the program Again used File IO to load the image RGB values (in bytes) ● Performed Accumulation and multiplication of the floats ● Go through all the confidence values, search for the biggest one, display the ● result

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend