PySR / pysr /export_torch.py

Commit History

  1. test: fix mypy errors with sympy

    Unverified signature
    e84bed4

  1. Merge pull request #650 from MilesCranmer/deps-update⁠

    Unverified signature
    1327c58
  2. docs: clearer about torch port

    Unverified signature
    aefe008
  3. fix: numpy import within torch export

    Unverified signature
    d2c7df2

  1. fix: symbolic numbers in torch

    Unverified signature
    c3293a8

  1. Add pre-commit hook for isort

    Unverified signature
    976f8d8

  1. Fix sympy2torch for rational numbers

    f119733

  1. Add mappings from sympy exact One/Half

    f2a7a62

  1. Correct sign in torch modulo

    4d5aec3

  1. Remove unused sympy mappings

    9c4acbd

  1. Add export key error telling user to set function mappings

    99fff5c

  1. Clean up more unused code

    5af6354

  1. Format code with black⁠

    deepsource-autofix[bot]
    Unverified signature
    7d4300a

  1. Revert to old torch export⁠

    d18011f

  1. Remove unused code

    659b5b7
  2. Update torch export docs

    5408936
  3. Switch to using sympytorch

    b0e1209
  4. Allow custom selection of X matrix in torch/jax modules

    8c55475
  5. Remove unused torch->sympy code

    b80fb14
  6. Allow user to pass extra torch operators

    e7ede78
  7. Remove unused torch backwards to sympy

    a88a169
  8. Add docstring for sympy2torch

    9068541

  1. Refactor lazy loading of torch and jax

    fb950bb
  2. Add torch format output; dont import jax/torch by default

    68b3673
  3. Create torch export function

    a06bfc4