pytensor 3.3.7__tar.gz → 3.4.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pytensor-3.3.7 → pytensor-3.4.0}/LICENSE.txt +13 -16
- {pytensor-3.3.7/pytensor.egg-info → pytensor-3.4.0}/PKG-INFO +5 -4
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/LICENSE.txt +13 -16
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/extending/op.rst +6 -2
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/extending/type.rst +2 -2
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/gallery/page_footer.md +1 -1
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/library/config.rst +23 -28
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/library/tensor/basic.rst +39 -13
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/library/tensor/linalg.rst +1 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/optimizations.rst +1 -1
- {pytensor-3.3.7 → pytensor-3.4.0}/pyproject.toml +4 -3
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/_version.py +3 -3
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/assumptions/__init__.py +9 -2
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/assumptions/core.py +59 -13
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/assumptions/diagonal.py +19 -2
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/assumptions/positive_definite.py +2 -1
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/assumptions/symmetric.py +2 -1
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/assumptions/triangular.py +7 -3
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/compile/builders.py +18 -12
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/compile/mode.py +3 -1
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/configdefaults.py +2 -9
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/configparser.py +0 -1
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/graph/fg.py +7 -5
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/graph/op.py +8 -6
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/graph/replace.py +5 -1
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/graph/rewriting/basic.py +91 -27
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/graph/utils.py +40 -46
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/c/cmodule.py +4 -36
- pytensor-3.4.0/pytensor/link/jax/dispatch/blockwise.py +63 -0
- pytensor-3.4.0/pytensor/link/jax/dispatch/linalg/products.py +43 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/jax/dispatch/scalar.py +24 -19
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/mlx/dispatch/scalar/math.py +20 -15
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/numba/dispatch/__init__.py +1 -0
- pytensor-3.4.0/pytensor/link/numba/dispatch/_gamma_tables.py +821 -0
- pytensor-3.4.0/pytensor/link/numba/dispatch/array_utils.py +26 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/numba/dispatch/basic.py +13 -4
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/numba/dispatch/elemwise.py +30 -63
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/numba/dispatch/linalg/constructors.py +7 -6
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/numba/dispatch/linalg/decomposition/cholesky.py +22 -20
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/numba/dispatch/linalg/decomposition/dispatch.py +32 -52
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/numba/dispatch/linalg/decomposition/eigen.py +40 -63
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/numba/dispatch/linalg/decomposition/lu_factor.py +6 -6
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/numba/dispatch/linalg/decomposition/qr.py +15 -28
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/numba/dispatch/linalg/decomposition/qz.py +36 -71
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/numba/dispatch/linalg/decomposition/schur.py +7 -10
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/numba/dispatch/linalg/decomposition/svd.py +17 -27
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/numba/dispatch/linalg/products.py +378 -168
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/numba/dispatch/linalg/solvers/cholesky.py +2 -9
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/numba/dispatch/linalg/solvers/dispatch.py +8 -12
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/numba/dispatch/linalg/solvers/hermitian.py +2 -11
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/numba/dispatch/linalg/solvers/linear_control.py +2 -4
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/numba/dispatch/linalg/solvers/lu_solve.py +2 -11
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/numba/dispatch/linalg/solvers/posdef.py +2 -11
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/numba/dispatch/linalg/solvers/symmetric.py +2 -11
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/numba/dispatch/linalg/solvers/triangular.py +32 -34
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/numba/dispatch/linalg/solvers/tridiagonal.py +5 -5
- pytensor-3.4.0/pytensor/link/numba/dispatch/linalg/utils.py +133 -0
- pytensor-3.4.0/pytensor/link/numba/dispatch/optimize/__init__.py +2 -0
- pytensor-3.4.0/pytensor/link/numba/dispatch/optimize/scalar_minimize.py +489 -0
- pytensor-3.4.0/pytensor/link/numba/dispatch/optimize/scalar_root.py +652 -0
- pytensor-3.4.0/pytensor/link/numba/dispatch/optimize/utils.py +48 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/numba/dispatch/random.py +13 -17
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/numba/dispatch/scalar.py +142 -24
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/numba/dispatch/tensor_basic.py +3 -2
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/numba/dispatch/vectorize_codegen.py +11 -8
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/raise_op.py +3 -3
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/scalar/basic.py +467 -330
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/scalar/loop.py +15 -3
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/scalar/math.py +168 -80
- pytensor-3.4.0/pytensor/scan/rewriting/constant_folding.py +63 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/scan/rewriting/db.py +18 -1
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/scan/rewriting/io.py +34 -19
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/scan/rewriting/push_out.py +11 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/sparse/rewriting.py +6 -4
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/basic.py +26 -60
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/blockwise.py +12 -1
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/elemwise.py +29 -33
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/linalg/__init__.py +3 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/linalg/decomposition/eigen.py +54 -56
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/linalg/products.py +112 -1
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/linalg/summary.py +5 -4
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/math.py +9 -2
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/optimize.py +118 -34
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/pad.py +5 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/random/rewriting/numba.py +2 -2
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/reshape.py +9 -9
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/rewriting/basic.py +260 -74
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/rewriting/blas.py +13 -3
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/rewriting/blockwise.py +16 -6
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/rewriting/elemwise.py +31 -273
- pytensor-3.4.0/pytensor/tensor/rewriting/extra_ops.py +119 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/rewriting/fused_elemwise.py +18 -10
- pytensor-3.4.0/pytensor/tensor/rewriting/inplace.py +352 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/rewriting/jax.py +53 -2
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/rewriting/linalg/decomposition.py +76 -83
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/rewriting/linalg/products.py +65 -8
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/rewriting/linalg/solvers.py +25 -18
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/rewriting/math.py +129 -72
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/rewriting/ofg.py +9 -10
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/rewriting/optimize.py +3 -2
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/rewriting/reshape.py +2 -8
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/rewriting/scalarize.py +6 -1
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/rewriting/shape.py +11 -9
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/rewriting/sort.py +29 -1
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/rewriting/subtensor.py +416 -179
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/rewriting/subtensor_lift.py +260 -56
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/special.py +15 -12
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/subtensor.py +45 -23
- pytensor-3.4.0/pytensor/tensor/symbolic.py +45 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/utils.py +7 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/xtensor/vectorization.py +3 -5
- {pytensor-3.3.7 → pytensor-3.4.0/pytensor.egg-info}/PKG-INFO +5 -4
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor.egg-info/SOURCES.txt +8 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor.egg-info/requires.txt +2 -2
- {pytensor-3.3.7 → pytensor-3.4.0}/tests/test_printing.py +9 -9
- pytensor-3.3.7/pytensor/link/jax/dispatch/blockwise.py +0 -21
- pytensor-3.3.7/pytensor/link/jax/dispatch/linalg/products.py +0 -21
- pytensor-3.3.7/pytensor/link/numba/dispatch/linalg/utils.py +0 -56
- pytensor-3.3.7/pytensor/tensor/rewriting/extra_ops.py +0 -64
- pytensor-3.3.7/pytensor/tensor/symbolic.py +0 -10
- {pytensor-3.3.7 → pytensor-3.4.0}/MANIFEST.in +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/README.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/.templates/PLACEHOLDER +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/.templates/layout.html +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/.templates/nb-badges.html +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/.templates/rendered_citation.html +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/README.md +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/_drafts/benchmark_mlx_v_jax_corrected.ipynb +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/_thumbnails/autodiff/vector_jacobian_product.png +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/_thumbnails/rewrites/assumptions.png +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/acknowledgement.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/bcast.png +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/bcast.svg +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/blog.md +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/conf.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/core_development_guide.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/css.inc +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/dev_start_guide.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/environment.yml +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/extending/apply.png +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/extending/apply.svg +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/extending/apply2.svg +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/extending/creating_a_c_op.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/extending/creating_a_numba_jax_op.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/extending/creating_an_op.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/extending/ctype.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/extending/extending_faq.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/extending/extending_pytensor_solution_1.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/extending/graph_rewriting.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/extending/graphstructures.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/extending/index.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/extending/inplace.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/extending/other_ops.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/extending/pics/symbolic_graph_opt.png +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/extending/pics/symbolic_graph_unopt.png +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/extending/pipeline.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/extending/scan.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/extending/tips.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/extending/unification_kanren.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/extending/unittest.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/extending/using_params.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/faq.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/gallery/applications/normalizing_flows_in_pytensor.ipynb +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/gallery/applications/tiny_transformer_llm.ipynb +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/gallery/autodiff/vector_jacobian_product.ipynb +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/gallery/introduction/pytensor_intro.ipynb +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/gallery/optimize/root.ipynb +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/gallery/rewrites/assumptions.ipynb +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/gallery/rewrites/graph_rewrites.ipynb +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/gallery/scan/scan_tutorial.ipynb +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/generate_dtype_tensor_table.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/glossary.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/images/Elman_srnn.png +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/images/PyTensor.png +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/images/PyTensor_RGB.svg +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/images/PyTensor_logo.png +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/images/binder.svg +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/images/blocksparse.png +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/images/colab.svg +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/images/github.svg +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/images/lstm.png +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/images/lstm_memorycell.png +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/images/talk2010.gif +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/images/talk2010.png +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/index.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/install.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/internal/how_to_release.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/internal/index.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/internal/metadocumentation.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/introduction.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/library/assumptions.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/library/compile/debugmode.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/library/compile/function.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/library/compile/index.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/library/compile/io.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/library/compile/mode.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/library/compile/nanguardmode.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/library/compile/opfromgraph.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/library/compile/ops.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/library/compile/profilemode.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/library/compile/shared.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/library/d3viz/examples/d3viz/css/d3-context-menu.css +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/library/d3viz/examples/d3viz/css/d3viz.css +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/library/d3viz/examples/d3viz/js/d3-context-menu.js +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/library/d3viz/examples/d3viz/js/d3.v3.min.js +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/library/d3viz/examples/d3viz/js/d3viz.js +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/library/d3viz/examples/d3viz/js/dagre-d3.min.js +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/library/d3viz/examples/d3viz/js/graphlib-dot.min.js +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/library/d3viz/examples/mlp.html +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/library/d3viz/examples/mlp.png +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/library/d3viz/examples/mlp2.html +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/library/d3viz/examples/mlp2.pdf +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/library/d3viz/examples/mlp2.png +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/library/d3viz/examples/ofg.html +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/library/d3viz/examples/ofg2.html +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/library/d3viz/index.ipynb +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/library/d3viz/index.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/library/d3viz/index_files/index_10_0.png +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/library/d3viz/index_files/index_11_0.png +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/library/d3viz/index_files/index_24_0.png +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/library/d3viz/index_files/index_25_0.png +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/library/graph/features.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/library/graph/fgraph.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/library/graph/graph.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/library/graph/index.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/library/graph/op.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/library/graph/replace.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/library/graph/traversal.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/library/graph/type.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/library/graph/utils.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/library/index.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/library/misc/pkl_utils.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/library/printing.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/library/scalar/index.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/library/scan.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/library/sparse/index.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/library/sparse/sandbox.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/library/tensor/basic_opt.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/library/tensor/bcast.png +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/library/tensor/bcast.svg +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/library/tensor/elemwise.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/library/tensor/extra_ops.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/library/tensor/fft.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/library/tensor/functional.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/library/tensor/index.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/library/tensor/io.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/library/tensor/math_opt.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/library/tensor/nlinalg.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/library/tensor/optimize.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/library/tensor/plot_fft.png +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/library/tensor/random.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/library/tensor/slinalg.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/library/tensor/utils.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/library/typed_list.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/library/xtensor/index.md +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/library/xtensor/linalg.md +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/library/xtensor/math.md +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/library/xtensor/module_functions.md +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/library/xtensor/random.md +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/library/xtensor/signal.md +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/library/xtensor/type.md +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/links.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/pylintrc +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/robots.txt +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/troubleshooting.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/tutorial/adding.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/tutorial/adding_solution_1.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/tutorial/aliasing.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/tutorial/apply.png +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/tutorial/apply.svg +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/tutorial/bcast.png +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/tutorial/broadcasting.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/tutorial/conditions.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/tutorial/debug_faq.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/tutorial/dlogistic.png +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/tutorial/examples.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/tutorial/faq_tutorial.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/tutorial/gradients.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/tutorial/index.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/tutorial/loading_and_saving.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/tutorial/logistic.gp +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/tutorial/logistic.png +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/tutorial/loop.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/tutorial/loop_solution_1.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/tutorial/modes.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/tutorial/modes_solution_1.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/tutorial/multi_cores.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/tutorial/nan_tutorial.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/tutorial/pics/d3viz.png +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/tutorial/pics/logreg_pydotprint_predict.png +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/tutorial/pics/logreg_pydotprint_prediction.png +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/tutorial/pics/logreg_pydotprint_train.png +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/tutorial/printing_drawing.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/tutorial/prng.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/tutorial/profiling.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/tutorial/profiling_example.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/tutorial/profiling_example_out.prof +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/tutorial/shape_info.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/tutorial/sparse.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/tutorial/symbolic_graphs.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/doc/user_guide.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/_sparse_lazy.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/assumptions/alloc.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/assumptions/blockwise.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/assumptions/bundles.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/assumptions/dimshuffle.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/assumptions/dot.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/assumptions/elemwise.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/assumptions/orthogonal.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/assumptions/permutation.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/assumptions/reshape.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/assumptions/selection.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/assumptions/shape.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/assumptions/specify.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/assumptions/subtensor.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/assumptions/tridiagonal.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/assumptions/unit_magnitude.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/basic.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/bin/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/bin/pytensor_cache.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/breakpoint.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/compile/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/compile/aliasing.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/compile/compiledir.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/compile/compilelock.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/compile/debug/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/compile/debug/debugmode.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/compile/debug/dump.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/compile/debug/monitormode.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/compile/debug/nanguardmode.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/compile/debug/profiling.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/compile/executor.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/compile/inner_function.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/compile/io.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/compile/maker.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/compile/ops.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/compile/rebuild.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/compile/rewriting.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/compile/sharedvalue.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/conditional/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/conditional/op.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/conditional/rewriting.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/d3viz/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/d3viz/css/d3-context-menu.css +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/d3viz/css/d3viz.css +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/d3viz/d3viz.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/d3viz/formatting.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/d3viz/html/template.html +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/d3viz/js/d3-context-menu.js +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/d3viz/js/d3.v3.min.js +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/d3viz/js/d3viz.js +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/d3viz/js/dagre-d3.min.js +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/d3viz/js/graphlib-dot.min.js +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/gradient.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/graph/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/graph/basic.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/graph/destroyhandler.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/graph/features.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/graph/null_type.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/graph/rewriting/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/graph/rewriting/db.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/graph/rewriting/kanren.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/graph/rewriting/reachability.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/graph/rewriting/unify.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/graph/rewriting/utils.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/graph/traversal.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/graph/type.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/ifelse.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/ipython.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/basic.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/c/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/c/basic.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/c/c_code/lazylinker_c.c +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/c/c_code/pytensor_mod_helper.h +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/c/cutils.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/c/cvm.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/c/exceptions.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/c/interface.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/c/lazylinker_c.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/c/op.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/c/params_type.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/c/type.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/jax/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/jax/dispatch/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/jax/dispatch/basic.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/jax/dispatch/blas.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/jax/dispatch/einsum.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/jax/dispatch/elemwise.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/jax/dispatch/extra_ops.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/jax/dispatch/linalg/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/jax/dispatch/linalg/constructors.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/jax/dispatch/linalg/decomposition.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/jax/dispatch/linalg/inverse.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/jax/dispatch/linalg/solvers.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/jax/dispatch/linalg/summary.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/jax/dispatch/math.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/jax/dispatch/pad.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/jax/dispatch/random.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/jax/dispatch/scan.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/jax/dispatch/shape.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/jax/dispatch/signal/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/jax/dispatch/signal/conv.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/jax/dispatch/sort.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/jax/dispatch/sparse.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/jax/dispatch/subtensor.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/jax/dispatch/tensor_basic.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/jax/linker.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/jax/ops.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/mlx/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/mlx/dispatch/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/mlx/dispatch/basic.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/mlx/dispatch/blas.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/mlx/dispatch/blockwise.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/mlx/dispatch/einsum.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/mlx/dispatch/elemwise.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/mlx/dispatch/extra_ops.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/mlx/dispatch/linalg/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/mlx/dispatch/linalg/decomposition.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/mlx/dispatch/linalg/inverse.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/mlx/dispatch/linalg/products.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/mlx/dispatch/linalg/solvers.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/mlx/dispatch/linalg/summary.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/mlx/dispatch/math.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/mlx/dispatch/pad.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/mlx/dispatch/random.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/mlx/dispatch/scalar/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/mlx/dispatch/scalar/basic.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/mlx/dispatch/scalar/bessel.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/mlx/dispatch/scalar/beta.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/mlx/dispatch/scalar/erf.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/mlx/dispatch/scalar/erfcinv.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/mlx/dispatch/scalar/gamma.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/mlx/dispatch/scalar/gammainc.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/mlx/dispatch/scalar/helpers.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/mlx/dispatch/shape.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/mlx/dispatch/signal/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/mlx/dispatch/signal/conv.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/mlx/dispatch/sort.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/mlx/dispatch/subtensor.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/mlx/dispatch/tensor_basic.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/mlx/linker.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/numba/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/numba/cache.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/numba/dispatch/_llvmlite_self_ref.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/numba/dispatch/_patch_list_to_tuple.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/numba/dispatch/_patch_pointer_add.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/numba/dispatch/blockwise.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/numba/dispatch/compile_ops.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/numba/dispatch/cython_support.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/numba/dispatch/extra_ops.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/numba/dispatch/linalg/_BLAS.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/numba/dispatch/linalg/_LAPACK.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/numba/dispatch/linalg/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/numba/dispatch/linalg/decomposition/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/numba/dispatch/linalg/decomposition/lu.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/numba/dispatch/linalg/inverse.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/numba/dispatch/linalg/solvers/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/numba/dispatch/linalg/solvers/general.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/numba/dispatch/linalg/solvers/utils.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/numba/dispatch/linalg/summary.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/numba/dispatch/scan.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/numba/dispatch/shape.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/numba/dispatch/signal/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/numba/dispatch/signal/conv.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/numba/dispatch/sort.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/numba/dispatch/sparse/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/numba/dispatch/sparse/basic.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/numba/dispatch/sparse/math.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/numba/dispatch/sparse/variable.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/numba/dispatch/string_codegen.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/numba/dispatch/subtensor.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/numba/dispatch/typed_list.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/numba/linker.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/pytorch/dispatch/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/pytorch/dispatch/basic.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/pytorch/dispatch/blas.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/pytorch/dispatch/blockwise.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/pytorch/dispatch/elemwise.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/pytorch/dispatch/extra_ops.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/pytorch/dispatch/linalg/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/pytorch/dispatch/linalg/decomposition.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/pytorch/dispatch/linalg/inverse.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/pytorch/dispatch/linalg/products.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/pytorch/dispatch/linalg/summary.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/pytorch/dispatch/math.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/pytorch/dispatch/scalar.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/pytorch/dispatch/shape.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/pytorch/dispatch/sort.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/pytorch/dispatch/subtensor.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/pytorch/linker.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/utils.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/link/vm.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/misc/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/misc/check_blas.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/misc/check_blas_many.sh +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/misc/check_duplicate_key.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/misc/elemwise_openmp_speedup.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/misc/elemwise_time_test.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/misc/frozendict.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/misc/may_share_memory.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/misc/ordered_set.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/misc/pkl_utils.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/npy_2_compat.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/printing.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/py.typed +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/scalar/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/scalar/c_code/Faddeeva.cc +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/scalar/c_code/Faddeeva.hh +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/scalar/c_code/gamma.c +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/scalar/c_code/incbet.c +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/scalar/sharedvar.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/scan/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/scan/basic.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/scan/checkpoints.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/scan/op.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/scan/rewriting/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/scan/rewriting/inner_graph.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/scan/rewriting/inplace.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/scan/rewriting/merge.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/scan/rewriting/trace.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/scan/rewriting/utils.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/scan/scan_perform.pyx +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/scan/scan_perform_ext.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/scan/utils.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/scan/views.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/sparse/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/sparse/basic.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/sparse/linalg.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/sparse/math.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/sparse/sharedvar.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/sparse/type.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/sparse/utils.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/sparse/variable.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/blas/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/blas/_core.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/blas/batched.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/blas/blas_c.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/blas/c_code/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/blas/c_code/alt_blas_common.h +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/blas/c_code/alt_blas_template.c +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/blas/c_code/blas_headers.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/blas/c_code/codegen.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/blas/gemm.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/blas/gemv.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/einsum.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/elemwise_cgen.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/exceptions.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/extra_ops.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/fft.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/fourier.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/functional.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/interpolate.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/linalg/_lazy.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/linalg/constructors.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/linalg/decomposition/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/linalg/decomposition/cholesky.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/linalg/decomposition/lu.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/linalg/decomposition/qr.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/linalg/decomposition/schur.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/linalg/decomposition/svd.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/linalg/dtype_utils.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/linalg/inverse.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/linalg/solvers/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/linalg/solvers/core.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/linalg/solvers/general.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/linalg/solvers/linear_control.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/linalg/solvers/lstsq.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/linalg/solvers/psd.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/linalg/solvers/triangular.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/linalg/solvers/tridiagonal.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/nlinalg.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/random/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/random/basic.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/random/op.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/random/rewriting/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/random/rewriting/basic.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/random/rewriting/jax.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/random/type.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/random/utils.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/random/variable.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/rewriting/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/rewriting/assumptions.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/rewriting/blas_c.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/rewriting/einsum.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/rewriting/linalg/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/rewriting/linalg/inverse.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/rewriting/linalg/reassociate_matmul.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/rewriting/linalg/summary.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/rewriting/linalg/utils.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/rewriting/numba.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/rewriting/special.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/rewriting/uncanonicalize.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/shape.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/sharedvar.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/signal/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/signal/conv.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/slinalg.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/sort.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/type.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/type_other.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/var.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/variable.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/tensor/xlogx.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/typed_list/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/typed_list/basic.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/typed_list/rewriting.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/typed_list/type.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/utils.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/xtensor/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/xtensor/basic.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/xtensor/indexing.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/xtensor/linalg.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/xtensor/math.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/xtensor/random/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/xtensor/random/basic.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/xtensor/random/type.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/xtensor/random/variable.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/xtensor/reduction.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/xtensor/rewriting/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/xtensor/rewriting/basic.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/xtensor/rewriting/indexing.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/xtensor/rewriting/math.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/xtensor/rewriting/reduction.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/xtensor/rewriting/shape.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/xtensor/rewriting/utils.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/xtensor/rewriting/vectorization.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/xtensor/shape.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/xtensor/signal.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor/xtensor/type.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor.egg-info/dependency_links.txt +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor.egg-info/entry_points.txt +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/pytensor.egg-info/top_level.txt +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/scripts/mypy-failing.txt +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/scripts/slowest_tests/update-slowest-times-issue.sh +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/setup.cfg +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/setup.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/tests/link/c/c_code/test_cenum.h +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/tests/link/c/c_code/test_quadratic_function.c +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/tests/test_basic.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/tests/test_breakpoint.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/tests/test_config.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/tests/test_gradient.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/tests/test_pytensor_cache.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/tests/test_raise_op.py +0 -0
- {pytensor-3.3.7 → pytensor-3.4.0}/tests/test_rop.py +0 -0
|
@@ -1,25 +1,9 @@
|
|
|
1
|
-
.. _license:
|
|
2
|
-
|
|
3
|
-
LICENSE
|
|
4
|
-
=======
|
|
5
|
-
|
|
6
1
|
Copyright (c) 2008-2019, Theano Development Team
|
|
7
2
|
Copyright (c) 2020-2021, PyMC Development team
|
|
8
3
|
Copyright (c) 2021-2022, Aesara Development Team
|
|
9
4
|
Copyright (c) 2022, PyMC Development team
|
|
10
5
|
All rights reserved.
|
|
11
6
|
|
|
12
|
-
Contains code from NumPy, Copyright (c) 2005-2016, NumPy Developers.
|
|
13
|
-
Contains code from Aesara, Copyright (c) 2021-2022, Aesara Developers.
|
|
14
|
-
All rights reserved.
|
|
15
|
-
|
|
16
|
-
theano/scan/*.py[c]: Razvan Pascanu, Frederic Bastien, James Bergstra, Pascal Lamblin, Arnaud Bergeron, PyMC Developers, PyTensor Developers, (c) 2010, Universite de Montreal
|
|
17
|
-
theano/tensor/sharedvar.py: James Bergstra, (c) 2010, Universite de Montreal, 3-clause BSD License
|
|
18
|
-
theano/gradient.py: James Bergstra, Razvan Pascanu, Arnaud Bergeron, Ian Goodfellow, PyMC Developers, PyTensor Developers, (c) 2011, Universite de Montreal, 3-clause BSD License
|
|
19
|
-
theano/compile/monitormode.py: this code was initially copied from the 'pyutools' package by its original author, and re-licensed under Theano's license.
|
|
20
|
-
|
|
21
|
-
Contains frozendict code from slezica’s python-frozendict(https://github.com/slezica/python-frozendict/blob/master/frozendict/__init__.py), Copyright (c) 2012 Santiago Lezica. All rights reserved.
|
|
22
|
-
|
|
23
7
|
Redistribution and use in source and binary forms, with or without
|
|
24
8
|
modification, are permitted provided that the following conditions are met:
|
|
25
9
|
|
|
@@ -42,3 +26,16 @@ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
|
|
42
26
|
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
43
27
|
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
44
28
|
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
29
|
+
|
|
30
|
+
END OF TERMS AND CONDITIONS
|
|
31
|
+
|
|
32
|
+
Contains code from NumPy, Copyright (c) 2005-2016, NumPy Developers.
|
|
33
|
+
Contains code from Aesara, Copyright (c) 2021-2022, Aesara Developers.
|
|
34
|
+
All rights reserved.
|
|
35
|
+
|
|
36
|
+
theano/scan/*.py[c]: Razvan Pascanu, Frederic Bastien, James Bergstra, Pascal Lamblin, Arnaud Bergeron, PyMC Developers, PyTensor Developers, (c) 2010, Universite de Montreal
|
|
37
|
+
theano/tensor/sharedvar.py: James Bergstra, (c) 2010, Universite de Montreal, 3-clause BSD License
|
|
38
|
+
theano/gradient.py: James Bergstra, Razvan Pascanu, Arnaud Bergeron, Ian Goodfellow, PyMC Developers, PyTensor Developers, (c) 2011, Universite de Montreal, 3-clause BSD License
|
|
39
|
+
theano/compile/monitormode.py: this code was initially copied from the 'pyutools' package by its original author, and re-licensed under Theano's license.
|
|
40
|
+
|
|
41
|
+
Contains frozendict code from slezica’s python-frozendict(https://github.com/slezica/python-frozendict/blob/master/frozendict/__init__.py), Copyright (c) 2012 Santiago Lezica. All rights reserved.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pytensor
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.4.0
|
|
4
4
|
Summary: Optimizing compiler for evaluating mathematical expressions on CPUs and GPUs.
|
|
5
5
|
Author-email: pymc-devs <pymc.devs@gmail.com>
|
|
6
6
|
License-Expression: BSD-3-Clause
|
|
@@ -24,14 +24,15 @@ Classifier: Programming Language :: Python :: 3
|
|
|
24
24
|
Classifier: Programming Language :: Python :: 3.12
|
|
25
25
|
Classifier: Programming Language :: Python :: 3.13
|
|
26
26
|
Classifier: Programming Language :: Python :: 3.14
|
|
27
|
+
Classifier: Programming Language :: Python :: 3.15
|
|
27
28
|
Classifier: Programming Language :: Python :: Free Threading :: 1 - Unstable
|
|
28
|
-
Requires-Python: <3.
|
|
29
|
+
Requires-Python: <3.16,>=3.12
|
|
29
30
|
Description-Content-Type: text/x-rst
|
|
30
31
|
License-File: LICENSE.txt
|
|
31
32
|
Requires-Dist: setuptools>=59.0.0
|
|
32
33
|
Requires-Dist: scipy<2,>=1
|
|
33
34
|
Requires-Dist: numpy>=2.0
|
|
34
|
-
Requires-Dist: numba<=0.68.
|
|
35
|
+
Requires-Dist: numba<=0.68.1,>=0.58
|
|
35
36
|
Requires-Dist: filelock>=3.15
|
|
36
37
|
Provides-Extra: complete
|
|
37
38
|
Requires-Dist: pytensor[jax]; extra == "complete"
|
|
@@ -57,7 +58,7 @@ Provides-Extra: jax
|
|
|
57
58
|
Requires-Dist: jax; extra == "jax"
|
|
58
59
|
Requires-Dist: jaxlib; extra == "jax"
|
|
59
60
|
Provides-Extra: numba
|
|
60
|
-
Requires-Dist: numba<=0.68.
|
|
61
|
+
Requires-Dist: numba<=0.68.1,>=0.58; extra == "numba"
|
|
61
62
|
Requires-Dist: llvmlite; extra == "numba"
|
|
62
63
|
Provides-Extra: kanren
|
|
63
64
|
Requires-Dist: etuples; extra == "kanren"
|
|
@@ -1,25 +1,9 @@
|
|
|
1
|
-
.. _license:
|
|
2
|
-
|
|
3
|
-
LICENSE
|
|
4
|
-
=======
|
|
5
|
-
|
|
6
1
|
Copyright (c) 2008-2019, Theano Development Team
|
|
7
2
|
Copyright (c) 2020-2021, PyMC Development team
|
|
8
3
|
Copyright (c) 2021-2022, Aesara Development Team
|
|
9
4
|
Copyright (c) 2022, PyMC Development team
|
|
10
5
|
All rights reserved.
|
|
11
6
|
|
|
12
|
-
Contains code from NumPy, Copyright (c) 2005-2016, NumPy Developers.
|
|
13
|
-
Contains code from Aesara, Copyright (c) 2021-2022, Aesara Developers.
|
|
14
|
-
All rights reserved.
|
|
15
|
-
|
|
16
|
-
theano/scan/*.py[c]: Razvan Pascanu, Frederic Bastien, James Bergstra, Pascal Lamblin, Arnaud Bergeron, PyMC Developers, PyTensor Developers, (c) 2010, Universite de Montreal
|
|
17
|
-
theano/tensor/sharedvar.py: James Bergstra, (c) 2010, Universite de Montreal, 3-clause BSD License
|
|
18
|
-
theano/gradient.py: James Bergstra, Razvan Pascanu, Arnaud Bergeron, Ian Goodfellow, PyMC Developers, PyTensor Developers, (c) 2011, Universite de Montreal, 3-clause BSD License
|
|
19
|
-
theano/compile/monitormode.py: this code was initially copied from the 'pyutools' package by its original author, and re-licensed under Theano's license.
|
|
20
|
-
|
|
21
|
-
Contains frozendict code from slezica’s python-frozendict(https://github.com/slezica/python-frozendict/blob/master/frozendict/__init__.py), Copyright (c) 2012 Santiago Lezica. All rights reserved.
|
|
22
|
-
|
|
23
7
|
Redistribution and use in source and binary forms, with or without
|
|
24
8
|
modification, are permitted provided that the following conditions are met:
|
|
25
9
|
|
|
@@ -42,3 +26,16 @@ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
|
|
42
26
|
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
43
27
|
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
44
28
|
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
29
|
+
|
|
30
|
+
END OF TERMS AND CONDITIONS
|
|
31
|
+
|
|
32
|
+
Contains code from NumPy, Copyright (c) 2005-2016, NumPy Developers.
|
|
33
|
+
Contains code from Aesara, Copyright (c) 2021-2022, Aesara Developers.
|
|
34
|
+
All rights reserved.
|
|
35
|
+
|
|
36
|
+
theano/scan/*.py[c]: Razvan Pascanu, Frederic Bastien, James Bergstra, Pascal Lamblin, Arnaud Bergeron, PyMC Developers, PyTensor Developers, (c) 2010, Universite de Montreal
|
|
37
|
+
theano/tensor/sharedvar.py: James Bergstra, (c) 2010, Universite de Montreal, 3-clause BSD License
|
|
38
|
+
theano/gradient.py: James Bergstra, Razvan Pascanu, Arnaud Bergeron, Ian Goodfellow, PyMC Developers, PyTensor Developers, (c) 2011, Universite de Montreal, 3-clause BSD License
|
|
39
|
+
theano/compile/monitormode.py: this code was initially copied from the 'pyutools' package by its original author, and re-licensed under Theano's license.
|
|
40
|
+
|
|
41
|
+
Contains frozendict code from slezica’s python-frozendict(https://github.com/slezica/python-frozendict/blob/master/frozendict/__init__.py), Copyright (c) 2012 Santiago Lezica. All rights reserved.
|
|
@@ -225,8 +225,12 @@ Optional methods or attributes
|
|
|
225
225
|
call. If you want to force the execution of an :class:`Op` during the
|
|
226
226
|
function call, make do_constant_folding return False.
|
|
227
227
|
|
|
228
|
-
|
|
229
|
-
|
|
228
|
+
Keep graph-dependent decisions about rewrite ordering, consumers, and
|
|
229
|
+
inplace opportunities in specialized graph rewrites. For example,
|
|
230
|
+
:class:`Alloc` opts out here and is materialized by
|
|
231
|
+
``local_alloc_constant_folding`` late in compilation. This preserves compact
|
|
232
|
+
repeated-value and shape information while structural rewrites can still
|
|
233
|
+
simplify the allocation, without listing every consumer that may benefit.
|
|
230
234
|
|
|
231
235
|
.. function:: debug_perform(node, inputs, output_storage)
|
|
232
236
|
|
|
@@ -146,8 +146,8 @@ SpecifyShape.0
|
|
|
146
146
|
>>> pytensor.dprint(v3, print_type=True)
|
|
147
147
|
SpecifyShape [id A] <TensorType(float64, (2, 1))>
|
|
148
148
|
|<TensorType(float64, (2, ?))> [id B] <TensorType(float64, (2, ?))>
|
|
149
|
-
|TensorConstant{2} [id C] <TensorType(
|
|
150
|
-
|TensorConstant{1} [id D] <TensorType(
|
|
149
|
+
|TensorConstant{2} [id C] <TensorType(int64, ())>
|
|
150
|
+
|TensorConstant{1} [id D] <TensorType(int64, ())>
|
|
151
151
|
|
|
152
152
|
|
|
153
153
|
Performing this in the opposite direction returned the output of a
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
## License notice
|
|
2
2
|
All the notebooks in this example gallery are provided under a
|
|
3
|
-
[3-Clause BSD License](https://github.com/pymc-devs/pytensor/blob/main/
|
|
3
|
+
[3-Clause BSD License](https://github.com/pymc-devs/pytensor/blob/main/LICENSE.txt)
|
|
4
4
|
which allows modification, and redistribution for any
|
|
5
5
|
use provided the copyright and license notices are preserved.
|
|
6
6
|
|
|
@@ -200,33 +200,35 @@ import ``pytensor`` and print the config variable, as in:
|
|
|
200
200
|
|
|
201
201
|
.. attribute:: cast_policy
|
|
202
202
|
|
|
203
|
-
String value:
|
|
203
|
+
String value: ``'numpy+floatX'`` (default) or ``'custom'``.
|
|
204
204
|
|
|
205
|
-
|
|
205
|
+
Controls how Python values acquire dtypes when constructing a graph.
|
|
206
206
|
|
|
207
|
-
|
|
208
|
-
|
|
207
|
+
Under ``'numpy+floatX'``, a standalone Python integer becomes ``int64`` and
|
|
208
|
+
a standalone Python float becomes ``floatX``. NumPy scalars and arrays keep
|
|
209
|
+
their explicit dtype.
|
|
209
210
|
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
211
|
+
In arithmetic expressions, Python numbers are weakly typed: the operation
|
|
212
|
+
resolves their precision from its typed operands.
|
|
213
|
+
Thus ``fvector() + 2.0`` stays ``float32`` and ``ivector() + 1`` stays
|
|
214
|
+
``int32``. Integer literals that cannot fit the dtype selected for integer
|
|
215
|
+
arithmetic raise ``OverflowError``. Operations that require floating-point
|
|
216
|
+
arithmetic resolve a floating dtype before converting the literal.
|
|
214
217
|
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
``
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
work-in-progress), and thus it should considered experimental.
|
|
218
|
+
With ``floatX='float32'``, numeric promotion also favors ``float32`` over
|
|
219
|
+
``float64`` when no operand is explicitly ``float64``. For example,
|
|
220
|
+
``fvector() + ivector()`` is ``float32``. Operations retain their own output
|
|
221
|
+
rules: floating-point functions, reductions, linear algebra, and random
|
|
222
|
+
variables determine their output dtype separately.
|
|
221
223
|
|
|
222
|
-
|
|
224
|
+
The legacy ``'custom'`` policy chooses constant dtypes from their values:
|
|
225
|
+
small Python integers become ``int8``, and exactly representable Python
|
|
226
|
+
floats can become ``float32``. Its floating-point rounding rules can be
|
|
227
|
+
customized with ``pytensor.scalar.basic.autocast_float``. This policy will
|
|
228
|
+
be deprecated in the future.
|
|
223
229
|
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
different type. PyTensor does not attempt to do the same at this point,
|
|
227
|
-
so users should be careful, since scalars may upcast arrays when they
|
|
228
|
-
otherwise wouldn't in NumPy. This behavior should change in the near
|
|
229
|
-
future.
|
|
230
|
+
See :ref:`libdoc_tensor_autocasting` for examples and the distinction between
|
|
231
|
+
a Python literal and an already typed symbolic constant.
|
|
230
232
|
|
|
231
233
|
.. attribute:: mode
|
|
232
234
|
|
|
@@ -728,13 +730,6 @@ import ``pytensor`` and print the config variable, as in:
|
|
|
728
730
|
Relax the tolerance of ``pytensor.tensor.math._allclose``: ``0`` leaves it
|
|
729
731
|
unchanged, ``1`` relaxes it slightly, and ``2`` relaxes it further.
|
|
730
732
|
|
|
731
|
-
.. attribute:: tensor__insert_inplace_optimizer_validate_nb
|
|
732
|
-
|
|
733
|
-
Int value, default: ``-1``
|
|
734
|
-
|
|
735
|
-
Number of inplace rewrites between graph validations. ``-1`` selects ``1``
|
|
736
|
-
for graphs with fewer than 500 nodes and ``10`` for larger graphs.
|
|
737
|
-
|
|
738
733
|
.. attribute:: optdb__position_cutoff
|
|
739
734
|
|
|
740
735
|
Float value, default: ``inf``
|
|
@@ -314,19 +314,45 @@ and a static shape/broadcastable pattern with a ``1``\/``True`` for every shape
|
|
|
314
314
|
dimension that is one and ``None``\/``False`` for every dimension with an unknown
|
|
315
315
|
shape.
|
|
316
316
|
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
317
|
+
Python numbers have scalar shape ``()``. Their dtype depends on whether they
|
|
318
|
+
are converted on their own or passed directly to an operation. The following
|
|
319
|
+
rules describe the default ``cast_policy='numpy+floatX'``.
|
|
320
|
+
|
|
321
|
+
A standalone constant gets a default dtype::
|
|
322
|
+
|
|
323
|
+
pt.constant(2) # int64
|
|
324
|
+
pt.constant(2.0) # config.floatX
|
|
325
|
+
pt.constant(2, dtype="float32") # explicitly float32
|
|
326
|
+
|
|
327
|
+
A Python number passed directly to an arithmetic operation is weakly typed.
|
|
328
|
+
Its precision follows the operation and its typed operands::
|
|
329
|
+
|
|
330
|
+
x = pt.fvector("x")
|
|
331
|
+
x + 2 # float32
|
|
332
|
+
x ** 2 # float32
|
|
333
|
+
pt.ivector() + 1 # int32
|
|
334
|
+
|
|
335
|
+
NumPy values and symbolic constants already have a dtype, which participates
|
|
336
|
+
in promotion. For example, ``x + np.float64(2)`` is ``float64``. With
|
|
337
|
+
``floatX='float64'``, ``x + pt.constant(2)`` is also ``float64``: that constant
|
|
338
|
+
was already constructed as int64. Use ``pt.constant(2, dtype=x.dtype)`` when a
|
|
339
|
+
constant must match ``x``.
|
|
340
|
+
|
|
341
|
+
An operation may require a floating computation even when its arguments are
|
|
342
|
+
integers. True division of integer inputs uses ``floatX``; ``pt.sqrt(2)`` uses
|
|
343
|
+
float64 because its standalone int64 input is promoted to floating point. ``pt.sqrt(2.0)``
|
|
344
|
+
uses ``floatX``. Computing ``math.sqrt(2)`` in Python leaves a Python float
|
|
345
|
+
that can take its precision from a typed operand when used in an expression.
|
|
346
|
+
|
|
347
|
+
With ``floatX='float32'``, ``pt.fvector() + pt.ivector()`` is float32, although
|
|
348
|
+
NumPy would promote those dtypes to float64. Other operations have their
|
|
349
|
+
own conventions: floating-point functions select a suitable working dtype,
|
|
350
|
+
sums and products widen small integer outputs, linear
|
|
351
|
+
algebra uses the core operation's working dtype, and random variables use the
|
|
352
|
+
distribution's sampling dtype or an explicit ``dtype`` argument.
|
|
353
|
+
|
|
354
|
+
The legacy ``cast_policy='custom'`` instead chooses constant dtypes based on
|
|
355
|
+
which types can represent their values. See :attr:`config.cast_policy`.
|
|
330
356
|
|
|
331
357
|
.. function:: as_tensor_variable(x, name=None, ndim=None)
|
|
332
358
|
|
|
@@ -216,7 +216,7 @@ Optimization o4 o3 o2
|
|
|
216
216
|
modify just the subtensor in question (possibly a single element). It
|
|
217
217
|
is much more efficient to modify that element inplace.
|
|
218
218
|
|
|
219
|
-
See :
|
|
219
|
+
See :class:`~pytensor.tensor.rewriting.subtensor.InplaceIncSubtensorOptimizer`
|
|
220
220
|
|
|
221
221
|
gemm
|
|
222
222
|
Numerical libraries such as MKL and ATLAS implement the BLAS-level-3
|
|
@@ -10,7 +10,7 @@ build-backend = "setuptools.build_meta"
|
|
|
10
10
|
[project]
|
|
11
11
|
name = "pytensor"
|
|
12
12
|
dynamic = ['version']
|
|
13
|
-
requires-python = ">=3.12,<3.
|
|
13
|
+
requires-python = ">=3.12,<3.16"
|
|
14
14
|
authors = [{ name = "pymc-devs", email = "pymc.devs@gmail.com" }]
|
|
15
15
|
description = "Optimizing compiler for evaluating mathematical expressions on CPUs and GPUs."
|
|
16
16
|
readme = "README.rst"
|
|
@@ -33,6 +33,7 @@ classifiers = [
|
|
|
33
33
|
"Programming Language :: Python :: 3.12",
|
|
34
34
|
"Programming Language :: Python :: 3.13",
|
|
35
35
|
"Programming Language :: Python :: 3.14",
|
|
36
|
+
"Programming Language :: Python :: 3.15",
|
|
36
37
|
"Programming Language :: Python :: Free Threading :: 1 - Unstable",
|
|
37
38
|
]
|
|
38
39
|
|
|
@@ -50,7 +51,7 @@ dependencies = [
|
|
|
50
51
|
"setuptools>=59.0.0",
|
|
51
52
|
"scipy>=1,<2",
|
|
52
53
|
"numpy>=2.0",
|
|
53
|
-
"numba>=0.58,<=0.68.
|
|
54
|
+
"numba>=0.58,<=0.68.1",
|
|
54
55
|
"filelock>=3.15",
|
|
55
56
|
]
|
|
56
57
|
|
|
@@ -78,7 +79,7 @@ tests = [
|
|
|
78
79
|
]
|
|
79
80
|
rtd = ["sphinx>=5.1.0,<6", "pygments", "pydot"]
|
|
80
81
|
jax = ["jax", "jaxlib"]
|
|
81
|
-
numba = ["numba>=0.58,<=0.68.
|
|
82
|
+
numba = ["numba>=0.58,<=0.68.1", "llvmlite"]
|
|
82
83
|
kanren = [
|
|
83
84
|
"etuples",
|
|
84
85
|
"logical-unification",
|
|
@@ -8,11 +8,11 @@ import json
|
|
|
8
8
|
|
|
9
9
|
version_json = '''
|
|
10
10
|
{
|
|
11
|
-
"date": "2026-
|
|
11
|
+
"date": "2026-11-30T16:14:14+0100",
|
|
12
12
|
"dirty": false,
|
|
13
13
|
"error": null,
|
|
14
|
-
"full-revisionid": "
|
|
15
|
-
"version": "3.
|
|
14
|
+
"full-revisionid": "967cd9e9d9a27e0e2d9fcc2b1d51a83ab8ffc68e",
|
|
15
|
+
"version": "3.4.0"
|
|
16
16
|
}
|
|
17
17
|
''' # END VERSION_JSON
|
|
18
18
|
|
|
@@ -38,9 +38,11 @@ from pytensor.assumptions.core import (
|
|
|
38
38
|
ConflictingAssumptionsError,
|
|
39
39
|
FactState,
|
|
40
40
|
check_assumption,
|
|
41
|
+
implication_holds,
|
|
41
42
|
register_assumption,
|
|
42
43
|
register_constant_inference,
|
|
43
44
|
register_implies,
|
|
45
|
+
register_type_inference,
|
|
44
46
|
register_universal_assumption,
|
|
45
47
|
)
|
|
46
48
|
from pytensor.assumptions.specify import (
|
|
@@ -72,13 +74,18 @@ def summarize_assumptions(feature: AssumptionFeature, var) -> str:
|
|
|
72
74
|
label = key.short_name or key.name
|
|
73
75
|
if state is FactState.TRUE:
|
|
74
76
|
if any(
|
|
75
|
-
key in weaker
|
|
77
|
+
key in weaker
|
|
78
|
+
and implication_holds(var, stronger, key)
|
|
79
|
+
and states[stronger] is FactState.TRUE
|
|
76
80
|
for stronger, weaker in IMPLIES.items()
|
|
77
81
|
):
|
|
78
82
|
continue
|
|
79
83
|
tokens.append(label)
|
|
80
84
|
elif state is FactState.FALSE:
|
|
81
|
-
if any(
|
|
85
|
+
if any(
|
|
86
|
+
implication_holds(var, key, w) and states[w] is FactState.FALSE
|
|
87
|
+
for w in IMPLIES.get(key, ())
|
|
88
|
+
):
|
|
82
89
|
continue
|
|
83
90
|
tokens.append(f"!{label}")
|
|
84
91
|
elif state is FactState.CONFLICT:
|
|
@@ -259,11 +259,34 @@ class KeyRegistryView:
|
|
|
259
259
|
# Registry mapping assumptions to other assumptions they imply. For example, a "diagonal" matrix is also "symmetric"
|
|
260
260
|
# and "triangular". This is consulted after all other inference rules to derive additional facts.
|
|
261
261
|
IMPLIES: dict[AssumptionKey, list[AssumptionKey]] = {}
|
|
262
|
+
# (stronger, weaker) pairs from IMPLIES that hold only for real dtypes.
|
|
263
|
+
REAL_ONLY_IMPLIES: set[tuple[AssumptionKey, AssumptionKey]] = set()
|
|
262
264
|
|
|
263
265
|
|
|
264
|
-
def register_implies(
|
|
265
|
-
|
|
266
|
+
def register_implies(
|
|
267
|
+
stronger: AssumptionKey, *weaker: AssumptionKey, real_only: bool = False
|
|
268
|
+
) -> None:
|
|
269
|
+
"""Declare that *stronger* being TRUE implies each *weaker* key is also TRUE.
|
|
270
|
+
|
|
271
|
+
Parameters
|
|
272
|
+
----------
|
|
273
|
+
stronger : AssumptionKey
|
|
274
|
+
The key whose truth implies the others.
|
|
275
|
+
*weaker : AssumptionKey
|
|
276
|
+
Keys implied by *stronger*.
|
|
277
|
+
real_only : bool, optional
|
|
278
|
+
Apply the implications only to variables with a real dtype. Default False.
|
|
279
|
+
"""
|
|
266
280
|
IMPLIES.setdefault(stronger, []).extend(weaker)
|
|
281
|
+
if real_only:
|
|
282
|
+
REAL_ONLY_IMPLIES.update((stronger, key) for key in weaker)
|
|
283
|
+
|
|
284
|
+
|
|
285
|
+
def implication_holds(var: Any, stronger: AssumptionKey, weaker: AssumptionKey) -> bool:
|
|
286
|
+
"""Return whether the registered implication *stronger* -> *weaker* applies to *var*."""
|
|
287
|
+
if (stronger, weaker) not in REAL_ONLY_IMPLIES:
|
|
288
|
+
return True
|
|
289
|
+
return not getattr(var.type, "dtype", "").startswith("complex")
|
|
267
290
|
|
|
268
291
|
|
|
269
292
|
# Maps a key to a function that infers it directly from a literal TensorConstant's data.
|
|
@@ -278,6 +301,18 @@ def register_constant_inference(key: AssumptionKey, fn: ConstantInferFn) -> None
|
|
|
278
301
|
CONSTANT_INFER_REGISTRY[key] = fn
|
|
279
302
|
|
|
280
303
|
|
|
304
|
+
# Maps a key to a function that infers it from a variable's type alone, such as a
|
|
305
|
+
# matrix with static shape (1, 1) being diagonal. AssumptionFeature joins it with the
|
|
306
|
+
# owner or constant data, so a declaration that contradicts the type raises.
|
|
307
|
+
TypeInferFn = Callable[[Variable], FactState]
|
|
308
|
+
TYPE_INFER_REGISTRY: dict[AssumptionKey, TypeInferFn] = {}
|
|
309
|
+
|
|
310
|
+
|
|
311
|
+
def register_type_inference(key: AssumptionKey, fn: TypeInferFn) -> None:
|
|
312
|
+
"""Register *fn* as the type-level inference for *key*."""
|
|
313
|
+
TYPE_INFER_REGISTRY[key] = fn
|
|
314
|
+
|
|
315
|
+
|
|
281
316
|
# Maps (key, Op type) to rules that read a fact about a variable off a node consuming it,
|
|
282
317
|
# such as ``solve(a, b, assume_a="pos")`` promising that ``a`` is positive definite. A rule
|
|
283
318
|
# is called as ``fn(key, op, node, input_index)`` and returns the state of that input.
|
|
@@ -350,7 +385,8 @@ ALL_KEYS = KeyRegistryView()
|
|
|
350
385
|
|
|
351
386
|
# Implications about structural properties derivably from other structural properties
|
|
352
387
|
register_implies(DIAGONAL, LOWER_TRIANGULAR, UPPER_TRIANGULAR, SYMMETRIC, TRIDIAGONAL)
|
|
353
|
-
|
|
388
|
+
# A complex positive definite matrix is Hermitian, which is not symmetric
|
|
389
|
+
register_implies(POSITIVE_DEFINITE, SYMMETRIC, real_only=True)
|
|
354
390
|
register_implies(PERMUTATION, SELECTION, ORTHOGONAL)
|
|
355
391
|
|
|
356
392
|
|
|
@@ -511,13 +547,15 @@ class AssumptionFeature(Feature):
|
|
|
511
547
|
def _compute(self, var: Any, key: AssumptionKey) -> FactState:
|
|
512
548
|
"""Infer the fact state for ``(var, key)``, caching ancestors inputs-first.
|
|
513
549
|
|
|
514
|
-
|
|
550
|
+
Joins the type-level rule with the owner or literal constant data, so a
|
|
551
|
+
declaration that contradicts the type raises. When those say nothing, asks
|
|
552
|
+
the clients of ``var`` what they promise about it.
|
|
515
553
|
Then walks the ``IMPLIES`` graph in both directions:
|
|
516
554
|
- Forward: a stronger key being TRUE makes this (weaker) key TRUE.
|
|
517
555
|
- Contrapositive: a weaker key being FALSE makes this (stronger) key FALSE.
|
|
518
556
|
|
|
519
|
-
Raise :class:`ConflictingAssumptionsError` if owner
|
|
520
|
-
``FactState.CONFLICT``.
|
|
557
|
+
Raise :class:`ConflictingAssumptionsError` if the type, owner, or constant
|
|
558
|
+
rules produce ``FactState.CONFLICT``.
|
|
521
559
|
"""
|
|
522
560
|
|
|
523
561
|
def deps(v: Any) -> tuple:
|
|
@@ -537,17 +575,18 @@ class AssumptionFeature(Feature):
|
|
|
537
575
|
self.cache[(v, key)] = FactState.UNKNOWN
|
|
538
576
|
self._var_to_keys.setdefault(v, set()).add(key)
|
|
539
577
|
|
|
578
|
+
type_rule = TYPE_INFER_REGISTRY.get(key)
|
|
579
|
+
state = FactState.UNKNOWN if type_rule is None else type_rule(v)
|
|
580
|
+
|
|
540
581
|
owner = getattr(v, "owner", None)
|
|
541
582
|
if owner is not None:
|
|
542
583
|
input_states = [self.get(inp, key) for inp in owner.inputs]
|
|
543
584
|
output_states = infer_assumption_for_node(
|
|
544
585
|
key, owner.op, self, self.fgraph, owner, input_states
|
|
545
586
|
)
|
|
546
|
-
state = output_states[owner.outputs.index(v)]
|
|
587
|
+
state = FactState.join(state, output_states[owner.outputs.index(v)])
|
|
547
588
|
elif isinstance(v, TensorConstant) and key in CONSTANT_INFER_REGISTRY:
|
|
548
|
-
state = CONSTANT_INFER_REGISTRY[key](v)
|
|
549
|
-
else:
|
|
550
|
-
state = FactState.UNKNOWN
|
|
589
|
+
state = FactState.join(state, CONSTANT_INFER_REGISTRY[key](v))
|
|
551
590
|
|
|
552
591
|
if state is FactState.UNKNOWN and key in CLIENT_INFER_KEYS:
|
|
553
592
|
for client, input_index in self.fgraph.clients.get(v, ()):
|
|
@@ -559,19 +598,26 @@ class AssumptionFeature(Feature):
|
|
|
559
598
|
|
|
560
599
|
if state is FactState.UNKNOWN:
|
|
561
600
|
for stronger, weaker_list in IMPLIES.items():
|
|
562
|
-
if
|
|
601
|
+
if (
|
|
602
|
+
key in weaker_list
|
|
603
|
+
and implication_holds(v, stronger, key)
|
|
604
|
+
and self.get(v, stronger) is FactState.TRUE
|
|
605
|
+
):
|
|
563
606
|
state = FactState.TRUE
|
|
564
607
|
break
|
|
565
608
|
|
|
566
609
|
if state is FactState.UNKNOWN:
|
|
567
610
|
for weaker in IMPLIES.get(key, ()):
|
|
568
|
-
if
|
|
611
|
+
if (
|
|
612
|
+
implication_holds(v, key, weaker)
|
|
613
|
+
and self.get(v, weaker) is FactState.FALSE
|
|
614
|
+
):
|
|
569
615
|
state = FactState.FALSE
|
|
570
616
|
break
|
|
571
617
|
|
|
572
618
|
if state is FactState.CONFLICT:
|
|
573
619
|
raise ConflictingAssumptionsError(
|
|
574
|
-
f"Conflicting evidence for {key} on {v!r} from
|
|
620
|
+
f"Conflicting evidence for {key} on {v!r} from inference rules."
|
|
575
621
|
)
|
|
576
622
|
|
|
577
623
|
self.cache[(v, key)] = state
|
|
@@ -13,23 +13,25 @@ from pytensor.assumptions.core import (
|
|
|
13
13
|
propagate_first,
|
|
14
14
|
register_assumption,
|
|
15
15
|
register_constant_inference,
|
|
16
|
+
register_type_inference,
|
|
16
17
|
)
|
|
17
18
|
from pytensor.assumptions.dimshuffle import conjugate_transpose_input
|
|
18
19
|
from pytensor.assumptions.elemwise import elemwise_preserves_zero_pattern
|
|
19
20
|
from pytensor.assumptions.subtensor import subtensor_propagates_matrix_property
|
|
21
|
+
from pytensor.graph.basic import Variable
|
|
20
22
|
from pytensor.tensor.basic import Alloc, AllocDiag, Eye
|
|
21
23
|
from pytensor.tensor.elemwise import DimShuffle, Elemwise
|
|
22
24
|
from pytensor.tensor.linalg.constructors import BlockDiagonal
|
|
23
25
|
from pytensor.tensor.linalg.decomposition.cholesky import Cholesky
|
|
24
26
|
from pytensor.tensor.linalg.inverse import MatrixInverse, MatrixPinv
|
|
25
|
-
from pytensor.tensor.linalg.products import KroneckerProduct
|
|
27
|
+
from pytensor.tensor.linalg.products import KroneckerProduct, Sqrtm
|
|
26
28
|
from pytensor.tensor.math import Dot
|
|
27
29
|
from pytensor.tensor.subtensor import (
|
|
28
30
|
AdvancedIncSubtensor,
|
|
29
31
|
IncSubtensor,
|
|
30
32
|
Subtensor,
|
|
31
33
|
)
|
|
32
|
-
from pytensor.tensor.variable import TensorConstant
|
|
34
|
+
from pytensor.tensor.variable import TensorConstant, TensorVariable
|
|
33
35
|
|
|
34
36
|
|
|
35
37
|
def _diagonal_from_constant(var: TensorConstant) -> FactState:
|
|
@@ -65,6 +67,20 @@ def _diagonal_from_constant(var: TensorConstant) -> FactState:
|
|
|
65
67
|
register_constant_inference(DIAGONAL, _diagonal_from_constant)
|
|
66
68
|
|
|
67
69
|
|
|
70
|
+
def _diagonal_from_static_shape(var: Variable) -> FactState:
|
|
71
|
+
"""Recognize a matrix whose last two axes are statically (1, 1) as DIAGONAL."""
|
|
72
|
+
if (
|
|
73
|
+
isinstance(var, TensorVariable)
|
|
74
|
+
and var.type.ndim >= 2
|
|
75
|
+
and all(var.type.broadcastable[-2:])
|
|
76
|
+
):
|
|
77
|
+
return FactState.TRUE
|
|
78
|
+
return FactState.UNKNOWN
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
register_type_inference(DIAGONAL, _diagonal_from_static_shape)
|
|
82
|
+
|
|
83
|
+
|
|
68
84
|
def indexes_diagonal(node) -> bool:
|
|
69
85
|
"""True when an ``*IncSubtensor*`` node modifies only diagonal entries."""
|
|
70
86
|
op = node.op
|
|
@@ -90,6 +106,7 @@ register_assumption(DIAGONAL, BlockDiagonal)(all_inputs_have_key)
|
|
|
90
106
|
register_assumption(DIAGONAL, MatrixInverse)(propagate_first)
|
|
91
107
|
register_assumption(DIAGONAL, MatrixPinv)(propagate_first)
|
|
92
108
|
register_assumption(DIAGONAL, KroneckerProduct)(all_inputs_have_key)
|
|
109
|
+
register_assumption(DIAGONAL, Sqrtm)(propagate_first)
|
|
93
110
|
register_assumption(DIAGONAL, Dot)(all_inputs_have_key)
|
|
94
111
|
register_assumption(DIAGONAL, Subtensor)(subtensor_propagates_matrix_property)
|
|
95
112
|
|
|
@@ -19,7 +19,7 @@ from pytensor.tensor.basic import AllocDiag, Eye
|
|
|
19
19
|
from pytensor.tensor.elemwise import DimShuffle, Elemwise
|
|
20
20
|
from pytensor.tensor.linalg.constructors import BlockDiagonal
|
|
21
21
|
from pytensor.tensor.linalg.inverse import MatrixInverse
|
|
22
|
-
from pytensor.tensor.linalg.products import KroneckerProduct
|
|
22
|
+
from pytensor.tensor.linalg.products import KroneckerProduct, Sqrtm
|
|
23
23
|
from pytensor.tensor.linalg.solvers.general import Solve
|
|
24
24
|
from pytensor.tensor.linalg.solvers.linear_control import (
|
|
25
25
|
SolveBilinearDiscreteLyapunov,
|
|
@@ -46,6 +46,7 @@ def _alloc_diag(key, op, feature, fgraph, node, input_states):
|
|
|
46
46
|
register_assumption(POSITIVE_DEFINITE, BlockDiagonal)(all_inputs_have_key)
|
|
47
47
|
register_assumption(POSITIVE_DEFINITE, MatrixInverse)(propagate_first)
|
|
48
48
|
register_assumption(POSITIVE_DEFINITE, KroneckerProduct)(all_inputs_have_key)
|
|
49
|
+
register_assumption(POSITIVE_DEFINITE, Sqrtm)(propagate_first)
|
|
49
50
|
register_assumption(POSITIVE_DEFINITE, Subtensor)(subtensor_propagates_matrix_property)
|
|
50
51
|
|
|
51
52
|
|
|
@@ -19,7 +19,7 @@ from pytensor.tensor.basic import Alloc, AllocDiag, Eye
|
|
|
19
19
|
from pytensor.tensor.elemwise import DimShuffle, Elemwise
|
|
20
20
|
from pytensor.tensor.linalg.constructors import BlockDiagonal
|
|
21
21
|
from pytensor.tensor.linalg.inverse import MatrixInverse, MatrixPinv
|
|
22
|
-
from pytensor.tensor.linalg.products import KroneckerProduct
|
|
22
|
+
from pytensor.tensor.linalg.products import KroneckerProduct, Sqrtm
|
|
23
23
|
from pytensor.tensor.linalg.solvers.general import Solve
|
|
24
24
|
from pytensor.tensor.linalg.solvers.linear_control import (
|
|
25
25
|
SolveBilinearDiscreteLyapunov,
|
|
@@ -54,6 +54,7 @@ register_assumption(SYMMETRIC, BlockDiagonal)(all_inputs_have_key)
|
|
|
54
54
|
register_assumption(SYMMETRIC, MatrixInverse)(propagate_first)
|
|
55
55
|
register_assumption(SYMMETRIC, MatrixPinv)(propagate_first)
|
|
56
56
|
register_assumption(SYMMETRIC, KroneckerProduct)(all_inputs_have_key)
|
|
57
|
+
register_assumption(SYMMETRIC, Sqrtm)(propagate_first)
|
|
57
58
|
register_assumption(SYMMETRIC, Subtensor)(subtensor_propagates_matrix_property)
|
|
58
59
|
|
|
59
60
|
|