primify
sympytorch
primify | sympytorch | |
---|---|---|
3 | 1 | |
466 | 124 | |
- | - | |
0.0 | 5.3 | |
almost 2 years ago | 9 months ago | |
Python | Python | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
primify
- Primify: Embed any image into a prime number
- Need a last minute Christmas present? How about turning your loved ones into a prime number?
-
Need a last minute Christmas present? How about turning your loved ones into a prime number using python!
You can find a simply CLI tool to perform the above here: https://github.com/LeviBorodenko/primify
sympytorch
-
Vectorization: Introduction
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.m.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.
What are some alternatives?
pillow - Python Imaging Library (Fork)
pyccel - Python extension language using accelerators
pytransform3d - 3D transformations for Python.
handyderivatives - Calc. on the command line - with LaTeX output.
rpn - RPN command-line calculator
sympy2jax - Turn SymPy expressions into trainable JAX expressions.
Nashpy - A python library for 2 player games.
SymPy - A computer algebra system written in pure Python
image-sort - Program to sort images by average color values
conway - Conway's game of life in a Python GIF exporter.
ndim - :books: Compute multidimensional volumes and monomial integrals.