glow icon indicating copy to clipboard operation
glow copied to clipboard

Implementing Matrix Factorizations (SVD, QR, LU)

Open anujgupt-github opened this issue 5 years ago • 2 comments

I need to implement SVD, QR, LU decompositions.

These are not part of standard C++ libraries, but are part of other libraries (like Eigen3). For implementing for Interpreter backend, what is your recommendation:

  1. Use/include libraries like Eigen3 and import the in-built functions? Or,
  2. Implement using brute-force method?

@jfix71, WDYT?

anujgupt-github avatar Sep 14 '20 14:09 anujgupt-github

For the Interpreter, we usually like to have simple reference implementations. Our goal is not to have super performant kernels -- other backends that are not references go for performance, such as CPU, OpenCL, NNPI, etc. So I'd suggest 2.

jfix71 avatar Sep 16 '20 02:09 jfix71

Thanks for your recommendations, @jfix71

anujgupt-github avatar Sep 20 '20 07:09 anujgupt-github