sympytorch

Turning SymPy expressions into PyTorch modules. (by patrick-kidger)

Sympytorch Alternatives

Similar projects and alternatives to sympytorch based on common topics and language

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better sympytorch alternative or higher similarity.

sympytorch reviews and mentions

Posts with mentions or reviews of sympytorch. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-06-01.
  • Vectorization: Introduction
    3 projects | news.ycombinator.com | 1 Jun 2023
    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.

Stats

Basic sympytorch repo stats
1
124
5.3
9 months ago

patrick-kidger/sympytorch is an open source project licensed under Apache License 2.0 which is an OSI approved license.

The primary programming language of sympytorch is Python.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com