Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Vectorization (disambiguation) https://en.wikipedia.org/wiki/Vectorization :

> Array programming, a style of computer programming where operations are applied to whole arrays instead of individual elements

> Automatic vectorization, a compiler optimization that transforms loops to vector operations

> Image tracing, the creation of vector from raster graphics

> Word embedding, mapping words to vectors, in natural language processing

> Vectorization (mathematics), a linear transformation which converts a matrix into a column vector

Vector (disambiguation) https://en.wikipedia.org/wiki/Vector

> Vector (mathematics and physics):

> Row and column vectors, single row or column matrices

> Vector space

> Vector field, a vector for each point

And then there are a number of CS usages of the word vector for 1D arrays.

Compute kernel: https://en.wikipedia.org/wiki/Compute_kernel

GPGPU > Vectorization, Stream Processing > Compute kernels: https://en.wikipedia.org/wiki/General-purpose_computing_on_g...

sympy.utilities.lambdify.lambdify() https://github.com/sympy/sympy/blob/a76b02fcd3a8b7f79b3a88df... :

> """Convert a SymPy expression into a function that allows for fast numeric evaluation [with the CPython math module, mpmath, NumPy, SciPy, CuPy, JAX, TensorFlow, SymPt, numexpr,]

pyorch lambdify PR, sympytorch: https://github.com/sympy/sympy/pull/20516#issuecomment-78428...

sympytorch: https://github.com/patrick-kidger/sympytorch :

> Turn SymPy expressions into PyTorch Modules.

> SymPy floats (optionally) become trainable parameters. SymPy symbols are inputs to the Module.

sympy2jax https://github.com/MilesCranmer/sympy2jax :

> Turn SymPy expressions into parametrized, differentiable, vectorizable, JAX functions.

> All SymPy floats become trainable input parameters. SymPy symbols become columns of a passed matrix.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: