pytensor 3.3.4__tar.gz → 3.3.6__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.4/pytensor.egg-info → pytensor-3.3.6}/PKG-INFO +1 -1
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/extending/other_ops.rst +1 -1
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/config.rst +142 -65
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/troubleshooting.rst +1 -1
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/tutorial/conditions.rst +1 -1
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/__init__.py +3 -1
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/_version.py +3 -3
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/assumptions/core.py +50 -1
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/assumptions/diagonal.py +5 -8
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/assumptions/dimshuffle.py +22 -1
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/assumptions/positive_definite.py +15 -31
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/assumptions/specify.py +1 -1
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/assumptions/symmetric.py +10 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/bin/pytensor_cache.py +14 -19
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/compile/builders.py +40 -9
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/compile/compiledir.py +15 -3
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/compile/debug/debugmode.py +3 -2
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/compile/executor.py +2 -2
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/compile/inner_function.py +0 -10
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/compile/rewriting.py +4 -7
- pytensor-3.3.6/pytensor/conditional/__init__.py +7 -0
- pytensor-3.3.4/pytensor/ifelse.py → pytensor-3.3.6/pytensor/conditional/op.py +51 -400
- pytensor-3.3.6/pytensor/conditional/rewriting.py +651 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/graph/op.py +18 -15
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/graph/traversal.py +10 -3
- pytensor-3.3.6/pytensor/ifelse.py +37 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/jax/dispatch/basic.py +13 -1
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/mlx/dispatch/basic.py +1 -1
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/mlx/dispatch/blas.py +1 -22
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/mlx/dispatch/linalg/decomposition.py +1 -1
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/mlx/dispatch/random.py +23 -23
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/mlx/dispatch/scalar/basic.py +2 -2
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/mlx/dispatch/scalar/bessel.py +42 -59
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/mlx/dispatch/scalar/beta.py +16 -9
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/mlx/dispatch/scalar/erf.py +53 -63
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/mlx/dispatch/scalar/erfcinv.py +4 -2
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/mlx/dispatch/scalar/gamma.py +4 -2
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/mlx/dispatch/scalar/gammainc.py +14 -11
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/mlx/dispatch/scalar/helpers.py +86 -8
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/mlx/dispatch/scalar/math.py +101 -9
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/mlx/dispatch/signal/conv.py +1 -1
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/mlx/dispatch/subtensor.py +2 -6
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/mlx/dispatch/tensor_basic.py +1 -1
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/compile_ops.py +23 -1
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/elemwise.py +191 -72
- pytensor-3.3.6/pytensor/link/numba/dispatch/linalg/_BLAS.py +195 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/linalg/_LAPACK.py +10 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/linalg/decomposition/cholesky.py +5 -2
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/linalg/decomposition/dispatch.py +1 -1
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/linalg/products.py +342 -1
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/random.py +3 -2
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/scalar.py +73 -19
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/sparse/basic.py +51 -0
- pytensor-3.3.6/pytensor/link/numba/dispatch/sparse/math.py +1367 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/sparse/variable.py +57 -4
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/subtensor.py +254 -110
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/tensor_basic.py +51 -4
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/vectorize_codegen.py +27 -2
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/pytorch/dispatch/basic.py +1 -1
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/pytorch/dispatch/math.py +4 -2
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/misc/check_blas.py +0 -1
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/printing.py +565 -386
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/scalar/basic.py +0 -12
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/scalar/loop.py +0 -4
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/scalar/math.py +127 -179
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/sparse/basic.py +8 -6
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/sparse/math.py +42 -42
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/sparse/rewriting.py +10 -10
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/basic.py +2 -2
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/blas/__init__.py +0 -17
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/blas/blas_c.py +1 -25
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/blas/c_code/codegen.py +0 -290
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/blockwise.py +2 -2
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/elemwise.py +32 -2
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/linalg/inverse.py +7 -15
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/linalg/products.py +11 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/linalg/solvers/general.py +3 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/linalg/solvers/linear_control.py +6 -6
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/linalg/solvers/psd.py +1 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/math.py +14 -22
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/optimize.py +112 -53
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/random/op.py +2 -6
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/rewriting/__init__.py +2 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/rewriting/blas.py +6 -56
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/rewriting/blas_c.py +4 -28
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/rewriting/elemwise.py +7 -1
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/rewriting/fused_elemwise.py +82 -12
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/rewriting/linalg/__init__.py +1 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/rewriting/linalg/decomposition.py +252 -38
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/rewriting/linalg/inverse.py +2 -2
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/rewriting/linalg/products.py +21 -22
- pytensor-3.3.6/pytensor/tensor/rewriting/linalg/reassociate_matmul.py +685 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/rewriting/linalg/solvers.py +24 -3
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/rewriting/math.py +2 -19
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/rewriting/optimize.py +5 -4
- pytensor-3.3.6/pytensor/tensor/rewriting/scalarize.py +263 -0
- pytensor-3.3.6/pytensor/tensor/rewriting/sort.py +70 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/rewriting/subtensor.py +8 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/shape.py +9 -7
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/typed_list/basic.py +6 -0
- {pytensor-3.3.4 → pytensor-3.3.6/pytensor.egg-info}/PKG-INFO +1 -1
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor.egg-info/SOURCES.txt +6 -2
- {pytensor-3.3.4 → pytensor-3.3.6}/scripts/mypy-failing.txt +0 -1
- {pytensor-3.3.4 → pytensor-3.3.6}/tests/test_printing.py +290 -3
- pytensor-3.3.4/pytensor/link/numba/dispatch/linalg/_BLAS.py +0 -74
- pytensor-3.3.4/pytensor/link/numba/dispatch/sparse/math.py +0 -651
- pytensor-3.3.4/pytensor/tensor/blas/ger.py +0 -76
- pytensor-3.3.4/tests/test_ifelse.py +0 -709
- {pytensor-3.3.4 → pytensor-3.3.6}/LICENSE.txt +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/MANIFEST.in +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/README.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/.templates/PLACEHOLDER +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/.templates/layout.html +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/.templates/nb-badges.html +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/.templates/rendered_citation.html +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/LICENSE.txt +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/README.md +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/_drafts/benchmark_mlx_v_jax_corrected.ipynb +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/_thumbnails/autodiff/vector_jacobian_product.png +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/_thumbnails/rewrites/assumptions.png +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/acknowledgement.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/bcast.png +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/bcast.svg +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/blog.md +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/conf.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/core_development_guide.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/css.inc +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/dev_start_guide.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/environment.yml +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/extending/apply.png +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/extending/apply.svg +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/extending/apply2.svg +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/extending/creating_a_c_op.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/extending/creating_a_numba_jax_op.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/extending/creating_an_op.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/extending/ctype.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/extending/extending_faq.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/extending/extending_pytensor_solution_1.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/extending/graph_rewriting.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/extending/graphstructures.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/extending/index.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/extending/inplace.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/extending/op.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/extending/pics/symbolic_graph_opt.png +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/extending/pics/symbolic_graph_unopt.png +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/extending/pipeline.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/extending/scan.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/extending/tips.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/extending/type.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/extending/unification_kanren.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/extending/unittest.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/extending/using_params.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/faq.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/gallery/applications/normalizing_flows_in_pytensor.ipynb +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/gallery/applications/tiny_transformer_llm.ipynb +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/gallery/autodiff/vector_jacobian_product.ipynb +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/gallery/introduction/pytensor_intro.ipynb +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/gallery/optimize/root.ipynb +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/gallery/page_footer.md +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/gallery/rewrites/assumptions.ipynb +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/gallery/rewrites/graph_rewrites.ipynb +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/gallery/scan/scan_tutorial.ipynb +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/generate_dtype_tensor_table.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/glossary.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/images/Elman_srnn.png +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/images/PyTensor.png +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/images/PyTensor_RGB.svg +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/images/PyTensor_logo.png +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/images/binder.svg +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/images/blocksparse.png +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/images/colab.svg +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/images/github.svg +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/images/lstm.png +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/images/lstm_memorycell.png +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/images/talk2010.gif +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/images/talk2010.png +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/index.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/install.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/internal/how_to_release.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/internal/index.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/internal/metadocumentation.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/introduction.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/assumptions.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/compile/debugmode.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/compile/function.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/compile/index.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/compile/io.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/compile/mode.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/compile/nanguardmode.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/compile/opfromgraph.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/compile/ops.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/compile/profilemode.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/compile/shared.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/d3viz/examples/d3viz/css/d3-context-menu.css +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/d3viz/examples/d3viz/css/d3viz.css +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/d3viz/examples/d3viz/js/d3-context-menu.js +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/d3viz/examples/d3viz/js/d3.v3.min.js +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/d3viz/examples/d3viz/js/d3viz.js +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/d3viz/examples/d3viz/js/dagre-d3.min.js +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/d3viz/examples/d3viz/js/graphlib-dot.min.js +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/d3viz/examples/mlp.html +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/d3viz/examples/mlp.png +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/d3viz/examples/mlp2.html +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/d3viz/examples/mlp2.pdf +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/d3viz/examples/mlp2.png +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/d3viz/examples/ofg.html +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/d3viz/examples/ofg2.html +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/d3viz/index.ipynb +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/d3viz/index.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/d3viz/index_files/index_10_0.png +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/d3viz/index_files/index_11_0.png +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/d3viz/index_files/index_24_0.png +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/d3viz/index_files/index_25_0.png +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/graph/features.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/graph/fgraph.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/graph/graph.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/graph/index.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/graph/op.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/graph/replace.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/graph/traversal.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/graph/type.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/graph/utils.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/index.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/misc/pkl_utils.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/printing.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/scalar/index.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/scan.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/sparse/index.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/sparse/sandbox.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/tensor/basic.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/tensor/basic_opt.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/tensor/bcast.png +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/tensor/bcast.svg +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/tensor/elemwise.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/tensor/extra_ops.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/tensor/fft.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/tensor/functional.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/tensor/index.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/tensor/io.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/tensor/linalg.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/tensor/math_opt.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/tensor/nlinalg.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/tensor/optimize.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/tensor/plot_fft.png +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/tensor/random.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/tensor/slinalg.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/tensor/utils.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/typed_list.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/xtensor/index.md +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/xtensor/linalg.md +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/xtensor/math.md +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/xtensor/module_functions.md +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/xtensor/random.md +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/xtensor/signal.md +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/xtensor/type.md +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/links.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/optimizations.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/pylintrc +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/robots.txt +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/tutorial/adding.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/tutorial/adding_solution_1.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/tutorial/aliasing.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/tutorial/apply.png +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/tutorial/apply.svg +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/tutorial/bcast.png +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/tutorial/broadcasting.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/tutorial/debug_faq.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/tutorial/dlogistic.png +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/tutorial/examples.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/tutorial/faq_tutorial.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/tutorial/gradients.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/tutorial/index.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/tutorial/loading_and_saving.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/tutorial/logistic.gp +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/tutorial/logistic.png +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/tutorial/loop.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/tutorial/loop_solution_1.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/tutorial/modes.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/tutorial/modes_solution_1.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/tutorial/multi_cores.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/tutorial/nan_tutorial.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/tutorial/pics/d3viz.png +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/tutorial/pics/logreg_pydotprint_predict.png +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/tutorial/pics/logreg_pydotprint_prediction.png +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/tutorial/pics/logreg_pydotprint_train.png +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/tutorial/printing_drawing.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/tutorial/prng.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/tutorial/profiling.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/tutorial/profiling_example.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/tutorial/profiling_example_out.prof +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/tutorial/shape_info.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/tutorial/sparse.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/tutorial/symbolic_graphs.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/doc/user_guide.rst +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pyproject.toml +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/_sparse_lazy.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/assumptions/__init__.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/assumptions/alloc.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/assumptions/blockwise.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/assumptions/bundles.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/assumptions/dot.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/assumptions/elemwise.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/assumptions/orthogonal.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/assumptions/permutation.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/assumptions/reshape.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/assumptions/selection.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/assumptions/shape.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/assumptions/subtensor.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/assumptions/triangular.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/assumptions/tridiagonal.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/assumptions/unit_magnitude.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/basic.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/bin/__init__.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/breakpoint.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/compile/__init__.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/compile/aliasing.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/compile/compilelock.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/compile/debug/__init__.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/compile/debug/dump.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/compile/debug/monitormode.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/compile/debug/nanguardmode.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/compile/debug/profiling.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/compile/io.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/compile/maker.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/compile/mode.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/compile/ops.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/compile/rebuild.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/compile/sharedvalue.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/configdefaults.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/configparser.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/d3viz/__init__.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/d3viz/css/d3-context-menu.css +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/d3viz/css/d3viz.css +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/d3viz/d3viz.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/d3viz/formatting.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/d3viz/html/template.html +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/d3viz/js/d3-context-menu.js +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/d3viz/js/d3.v3.min.js +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/d3viz/js/d3viz.js +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/d3viz/js/dagre-d3.min.js +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/d3viz/js/graphlib-dot.min.js +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/gradient.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/graph/__init__.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/graph/basic.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/graph/destroyhandler.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/graph/features.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/graph/fg.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/graph/null_type.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/graph/replace.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/graph/rewriting/__init__.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/graph/rewriting/basic.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/graph/rewriting/db.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/graph/rewriting/kanren.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/graph/rewriting/reachability.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/graph/rewriting/unify.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/graph/rewriting/utils.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/graph/type.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/graph/utils.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/ipython.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/__init__.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/basic.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/c/__init__.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/c/basic.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/c/c_code/lazylinker_c.c +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/c/c_code/pytensor_mod_helper.h +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/c/cmodule.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/c/cutils.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/c/cvm.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/c/exceptions.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/c/interface.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/c/lazylinker_c.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/c/op.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/c/params_type.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/c/type.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/jax/__init__.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/jax/dispatch/__init__.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/jax/dispatch/blas.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/jax/dispatch/blockwise.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/jax/dispatch/einsum.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/jax/dispatch/elemwise.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/jax/dispatch/extra_ops.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/jax/dispatch/linalg/__init__.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/jax/dispatch/linalg/constructors.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/jax/dispatch/linalg/decomposition.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/jax/dispatch/linalg/inverse.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/jax/dispatch/linalg/products.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/jax/dispatch/linalg/solvers.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/jax/dispatch/linalg/summary.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/jax/dispatch/math.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/jax/dispatch/pad.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/jax/dispatch/random.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/jax/dispatch/scalar.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/jax/dispatch/scan.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/jax/dispatch/shape.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/jax/dispatch/signal/__init__.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/jax/dispatch/signal/conv.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/jax/dispatch/sort.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/jax/dispatch/sparse.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/jax/dispatch/subtensor.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/jax/dispatch/tensor_basic.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/jax/linker.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/jax/ops.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/mlx/__init__.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/mlx/dispatch/__init__.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/mlx/dispatch/blockwise.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/mlx/dispatch/einsum.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/mlx/dispatch/elemwise.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/mlx/dispatch/extra_ops.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/mlx/dispatch/linalg/__init__.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/mlx/dispatch/linalg/inverse.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/mlx/dispatch/linalg/products.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/mlx/dispatch/linalg/solvers.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/mlx/dispatch/linalg/summary.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/mlx/dispatch/math.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/mlx/dispatch/pad.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/mlx/dispatch/scalar/__init__.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/mlx/dispatch/shape.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/mlx/dispatch/signal/__init__.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/mlx/dispatch/sort.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/mlx/linker.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/__init__.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/cache.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/__init__.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/_llvmlite_self_ref.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/_patch_list_to_tuple.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/_patch_pointer_add.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/basic.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/blockwise.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/cython_support.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/extra_ops.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/linalg/__init__.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/linalg/constructors.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/linalg/decomposition/__init__.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/linalg/decomposition/eigen.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/linalg/decomposition/lu.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/linalg/decomposition/lu_factor.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/linalg/decomposition/qr.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/linalg/decomposition/qz.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/linalg/decomposition/schur.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/linalg/decomposition/svd.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/linalg/inverse.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/linalg/solvers/__init__.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/linalg/solvers/cholesky.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/linalg/solvers/dispatch.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/linalg/solvers/general.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/linalg/solvers/hermitian.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/linalg/solvers/linear_control.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/linalg/solvers/lu_solve.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/linalg/solvers/posdef.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/linalg/solvers/symmetric.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/linalg/solvers/triangular.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/linalg/solvers/tridiagonal.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/linalg/solvers/utils.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/linalg/summary.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/linalg/utils.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/scan.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/shape.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/signal/__init__.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/signal/conv.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/sort.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/sparse/__init__.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/string_codegen.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/typed_list.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/linker.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/pytorch/dispatch/__init__.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/pytorch/dispatch/blas.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/pytorch/dispatch/blockwise.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/pytorch/dispatch/elemwise.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/pytorch/dispatch/extra_ops.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/pytorch/dispatch/linalg/__init__.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/pytorch/dispatch/linalg/decomposition.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/pytorch/dispatch/linalg/inverse.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/pytorch/dispatch/linalg/products.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/pytorch/dispatch/linalg/summary.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/pytorch/dispatch/scalar.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/pytorch/dispatch/shape.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/pytorch/dispatch/sort.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/pytorch/dispatch/subtensor.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/pytorch/linker.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/utils.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/vm.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/misc/__init__.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/misc/check_blas_many.sh +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/misc/check_duplicate_key.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/misc/elemwise_openmp_speedup.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/misc/elemwise_time_test.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/misc/frozendict.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/misc/may_share_memory.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/misc/ordered_set.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/misc/pkl_utils.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/npy_2_compat.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/py.typed +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/raise_op.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/scalar/__init__.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/scalar/c_code/Faddeeva.cc +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/scalar/c_code/Faddeeva.hh +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/scalar/c_code/gamma.c +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/scalar/c_code/incbet.c +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/scalar/sharedvar.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/scan/__init__.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/scan/basic.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/scan/checkpoints.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/scan/op.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/scan/rewriting/__init__.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/scan/rewriting/db.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/scan/rewriting/inner_graph.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/scan/rewriting/inplace.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/scan/rewriting/io.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/scan/rewriting/merge.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/scan/rewriting/push_out.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/scan/rewriting/trace.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/scan/rewriting/utils.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/scan/scan_perform.pyx +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/scan/scan_perform_ext.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/scan/utils.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/scan/views.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/sparse/__init__.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/sparse/linalg.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/sparse/sharedvar.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/sparse/type.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/sparse/utils.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/sparse/variable.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/__init__.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/blas/_core.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/blas/batched.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/blas/c_code/__init__.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/blas/c_code/alt_blas_common.h +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/blas/c_code/alt_blas_template.c +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/blas/c_code/blas_headers.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/blas/gemm.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/blas/gemv.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/einsum.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/elemwise_cgen.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/exceptions.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/extra_ops.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/fft.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/fourier.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/functional.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/interpolate.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/linalg/__init__.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/linalg/_lazy.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/linalg/constructors.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/linalg/decomposition/__init__.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/linalg/decomposition/cholesky.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/linalg/decomposition/eigen.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/linalg/decomposition/lu.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/linalg/decomposition/qr.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/linalg/decomposition/schur.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/linalg/decomposition/svd.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/linalg/dtype_utils.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/linalg/solvers/__init__.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/linalg/solvers/core.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/linalg/solvers/lstsq.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/linalg/solvers/triangular.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/linalg/solvers/tridiagonal.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/linalg/summary.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/nlinalg.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/pad.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/random/__init__.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/random/basic.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/random/rewriting/__init__.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/random/rewriting/basic.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/random/rewriting/jax.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/random/rewriting/numba.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/random/type.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/random/utils.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/random/variable.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/reshape.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/rewriting/assumptions.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/rewriting/basic.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/rewriting/blockwise.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/rewriting/einsum.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/rewriting/extra_ops.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/rewriting/jax.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/rewriting/linalg/summary.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/rewriting/linalg/utils.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/rewriting/numba.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/rewriting/ofg.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/rewriting/reshape.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/rewriting/shape.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/rewriting/special.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/rewriting/subtensor_lift.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/rewriting/uncanonicalize.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/sharedvar.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/signal/__init__.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/signal/conv.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/slinalg.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/sort.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/special.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/subtensor.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/symbolic.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/type.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/type_other.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/utils.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/var.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/variable.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/xlogx.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/typed_list/__init__.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/typed_list/rewriting.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/typed_list/type.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/utils.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/xtensor/__init__.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/xtensor/basic.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/xtensor/indexing.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/xtensor/linalg.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/xtensor/math.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/xtensor/random/__init__.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/xtensor/random/basic.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/xtensor/random/type.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/xtensor/random/variable.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/xtensor/reduction.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/xtensor/rewriting/__init__.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/xtensor/rewriting/basic.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/xtensor/rewriting/indexing.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/xtensor/rewriting/math.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/xtensor/rewriting/reduction.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/xtensor/rewriting/shape.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/xtensor/rewriting/utils.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/xtensor/rewriting/vectorization.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/xtensor/shape.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/xtensor/signal.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/xtensor/type.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/xtensor/vectorization.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor.egg-info/dependency_links.txt +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor.egg-info/entry_points.txt +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor.egg-info/requires.txt +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/pytensor.egg-info/top_level.txt +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/scripts/slowest_tests/update-slowest-times-issue.sh +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/setup.cfg +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/setup.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/tests/link/c/c_code/test_cenum.h +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/tests/link/c/c_code/test_quadratic_function.c +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/tests/test_basic.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/tests/test_breakpoint.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/tests/test_config.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/tests/test_gradient.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/tests/test_pytensor_cache.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/tests/test_raise_op.py +0 -0
- {pytensor-3.3.4 → pytensor-3.3.6}/tests/test_rop.py +0 -0
|
@@ -96,7 +96,7 @@ You can extract the 4 fields with
|
|
|
96
96
|
:func:`PyTensor.sparse.basic.csm_shape` to extract the individual
|
|
97
97
|
fields.
|
|
98
98
|
|
|
99
|
-
You can look at the `
|
|
99
|
+
You can look at the `AddSparseDense` sparse `Op` for an example with C code. It implements
|
|
100
100
|
the addition of a sparse matrix with a dense matrix.
|
|
101
101
|
|
|
102
102
|
Sparse Tests
|
|
@@ -70,13 +70,12 @@ Environment Variables
|
|
|
70
70
|
|
|
71
71
|
[global]
|
|
72
72
|
floatX = float32
|
|
73
|
-
device = cuda0
|
|
74
73
|
|
|
75
74
|
Configuration attributes that are available directly in ``config``
|
|
76
75
|
(e.g. ``config.mode``) should be defined in the ``[global]`` section.
|
|
77
76
|
Attributes from a subsection of ``config``
|
|
78
|
-
(e.g. ``config.
|
|
79
|
-
corresponding section (e.g. ``[
|
|
77
|
+
(e.g. ``config.compile__timeout``) should be defined in their
|
|
78
|
+
corresponding section (e.g. ``[compile]``).
|
|
80
79
|
|
|
81
80
|
Multiple configuration files can be specified by separating them with ``':'``
|
|
82
81
|
characters (as in ``$PATH``). Multiple configuration files will be merged,
|
|
@@ -99,18 +98,6 @@ import ``pytensor`` and print the config variable, as in:
|
|
|
99
98
|
|
|
100
99
|
python -c 'import pytensor; print(pytensor.config)' | less
|
|
101
100
|
|
|
102
|
-
.. attribute:: device
|
|
103
|
-
|
|
104
|
-
String value: either ``'cpu'``
|
|
105
|
-
|
|
106
|
-
.. attribute:: print_active_device
|
|
107
|
-
|
|
108
|
-
Bool value: either ``True`` or ``False``
|
|
109
|
-
|
|
110
|
-
Default: ``True``
|
|
111
|
-
|
|
112
|
-
Print the active device when the device is initialized.
|
|
113
|
-
|
|
114
101
|
.. attribute:: floatX
|
|
115
102
|
|
|
116
103
|
String value: ``'float64'``, ``'float32'``, or ``'float16'`` (with limited support)
|
|
@@ -234,9 +221,6 @@ import ``pytensor`` and print the config variable, as in:
|
|
|
234
221
|
|
|
235
222
|
At the moment it behaves differently from NumPy in the following situations:
|
|
236
223
|
|
|
237
|
-
* Depending on the value of :attr:`config.int_division`, the resulting dtype
|
|
238
|
-
of a division of integers with the ``/`` operator may not match
|
|
239
|
-
that of NumPy.
|
|
240
224
|
* On mixed scalar and array operations, NumPy tries to prevent the scalar
|
|
241
225
|
from upcasting the array's type unless it is of a fundamentally
|
|
242
226
|
different type. PyTensor does not attempt to do the same at this point,
|
|
@@ -244,24 +228,6 @@ import ``pytensor`` and print the config variable, as in:
|
|
|
244
228
|
otherwise wouldn't in NumPy. This behavior should change in the near
|
|
245
229
|
future.
|
|
246
230
|
|
|
247
|
-
.. attribute:: int_division
|
|
248
|
-
|
|
249
|
-
String value: either ``'int'``, ``'floatX'``, or ``'raise'``
|
|
250
|
-
|
|
251
|
-
Default: ``'int'``
|
|
252
|
-
|
|
253
|
-
Specifies what to do when one tries to compute ``x / y``, where both ``x`` and
|
|
254
|
-
``y`` are of integer types (possibly unsigned). ``'int'`` means an integer is
|
|
255
|
-
returned (as in Python 2.X). This behavior is deprecated.
|
|
256
|
-
|
|
257
|
-
``'floatX'`` returns a number of with the dtype given by ``config.floatX``.
|
|
258
|
-
|
|
259
|
-
``'raise'`` is the safest choice (and will become default in a future
|
|
260
|
-
release of PyTensor). It raises an error when one tries to perform such an
|
|
261
|
-
operation, enforcing the use of the integer division operator (``//``). If a
|
|
262
|
-
float result is desired, either cast one of the arguments to a float, or use
|
|
263
|
-
``x.__truediv__(y)``.
|
|
264
|
-
|
|
265
231
|
.. attribute:: mode
|
|
266
232
|
|
|
267
233
|
String value: ``'Mode'``, ``'DebugMode'``, ``'FAST_RUN'``,
|
|
@@ -458,35 +424,6 @@ import ``pytensor`` and print the config variable, as in:
|
|
|
458
424
|
PyTensor will test if ``'-lblas'`` works by default. If not, it will disable C
|
|
459
425
|
code for BLAS.
|
|
460
426
|
|
|
461
|
-
.. attribute:: config.experimental__local_alloc_elemwise_assert
|
|
462
|
-
|
|
463
|
-
Bool value: either ``True`` or ``False``
|
|
464
|
-
|
|
465
|
-
Default: ``True``
|
|
466
|
-
|
|
467
|
-
When ``True``, add asserts that highlight shape errors.
|
|
468
|
-
|
|
469
|
-
Without such asserts, the underlying rewrite could hide errors in user
|
|
470
|
-
code. PyTensor adds the asserts only if it cannot infer that the shapes are
|
|
471
|
-
equivalent. When it can determine equivalence, this rewrite does not
|
|
472
|
-
introduce an assert.
|
|
473
|
-
|
|
474
|
-
Removing these asserts can speed up execution.
|
|
475
|
-
|
|
476
|
-
.. attribute:: config.conv__assert_shape
|
|
477
|
-
|
|
478
|
-
If ``True``, ``AbstractConv*`` :class:`Op`\s will verify that user-provided shapes
|
|
479
|
-
match the run-time shapes. This is a debugging option, and may slow down
|
|
480
|
-
compilation.
|
|
481
|
-
|
|
482
|
-
.. attribute:: config.ctc__root
|
|
483
|
-
|
|
484
|
-
Default: ``''``
|
|
485
|
-
|
|
486
|
-
Location of the warp-ctc folder. The folder should contain either a build,
|
|
487
|
-
lib or lib64 subfolder with the shared library (e.g. ``libwarpctc.so``), and another
|
|
488
|
-
subfolder called include, with the CTC library header.
|
|
489
|
-
|
|
490
427
|
.. attribute:: config.gcc__cxxflags
|
|
491
428
|
|
|
492
429
|
Default: ``""``
|
|
@@ -725,3 +662,143 @@ import ``pytensor`` and print the config variable, as in:
|
|
|
725
662
|
The number of traceback stack levels to keep for variables during PyTensor
|
|
726
663
|
compilation. When this value is greater than zero, it will make PyTensor keep
|
|
727
664
|
internal stack traces.
|
|
665
|
+
|
|
666
|
+
.. attribute:: check_input
|
|
667
|
+
|
|
668
|
+
Bool value, default: ``True``
|
|
669
|
+
|
|
670
|
+
Enable input type checks in generated C code. Disabling these checks can
|
|
671
|
+
reduce compilation time, runtime overhead, and the number of generated files.
|
|
672
|
+
|
|
673
|
+
.. attribute:: on_unused_input
|
|
674
|
+
|
|
675
|
+
String value: ``'raise'``, ``'warn'``, or ``'ignore'``. Default: ``'raise'``.
|
|
676
|
+
|
|
677
|
+
Control what happens when an input to ``pytensor.function`` is unused.
|
|
678
|
+
|
|
679
|
+
.. attribute:: print_global_stats
|
|
680
|
+
|
|
681
|
+
Bool value, default: ``False``
|
|
682
|
+
|
|
683
|
+
Print global timing statistics when the process exits.
|
|
684
|
+
|
|
685
|
+
.. attribute:: unpickle_function
|
|
686
|
+
|
|
687
|
+
Bool value, default: ``True``
|
|
688
|
+
|
|
689
|
+
Restore compiled functions when unpickling. If ``False``, replace them with
|
|
690
|
+
``None``, which can help load old graphs that unnecessarily included functions.
|
|
691
|
+
|
|
692
|
+
.. attribute:: vm__lazy
|
|
693
|
+
|
|
694
|
+
Value: ``None``, ``True``, or ``False``. Default: ``None``.
|
|
695
|
+
|
|
696
|
+
Control lazy evaluation in VM linkers. ``None`` selects it automatically.
|
|
697
|
+
Without the C VM, ``True`` selects the Stack VM and ``False`` the Loop VM.
|
|
698
|
+
|
|
699
|
+
.. attribute:: optimizer_verbose_ignore
|
|
700
|
+
|
|
701
|
+
String value, default: ``''``
|
|
702
|
+
|
|
703
|
+
Comma-separated rewrite names to omit when :attr:`optimizer_verbose` is enabled.
|
|
704
|
+
|
|
705
|
+
.. attribute:: blas__check_openmp
|
|
706
|
+
|
|
707
|
+
Bool value, default: ``True``
|
|
708
|
+
|
|
709
|
+
Check for conflicting OpenMP libraries. Disabling this check can allow
|
|
710
|
+
incorrect results in BLAS operations.
|
|
711
|
+
|
|
712
|
+
.. attribute:: numba__cache
|
|
713
|
+
|
|
714
|
+
Bool value, default: ``True``
|
|
715
|
+
|
|
716
|
+
Enable Numba's file-based compilation cache.
|
|
717
|
+
|
|
718
|
+
.. attribute:: numba__fastmath
|
|
719
|
+
|
|
720
|
+
Bool value, default: ``True``
|
|
721
|
+
|
|
722
|
+
Enable the Numba backend's fastmath optimizations.
|
|
723
|
+
|
|
724
|
+
.. attribute:: tensor__cmp_sloppy
|
|
725
|
+
|
|
726
|
+
Int value: ``0``, ``1``, or ``2``. Default: ``0``.
|
|
727
|
+
|
|
728
|
+
Relax the tolerance of ``pytensor.tensor.math._allclose``: ``0`` leaves it
|
|
729
|
+
unchanged, ``1`` relaxes it slightly, and ``2`` relaxes it further.
|
|
730
|
+
|
|
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
|
+
.. attribute:: optdb__position_cutoff
|
|
739
|
+
|
|
740
|
+
Float value, default: ``inf``
|
|
741
|
+
|
|
742
|
+
Stop graph rewriting before rewrites at or beyond this database position.
|
|
743
|
+
|
|
744
|
+
.. attribute:: optdb__max_use_ratio
|
|
745
|
+
|
|
746
|
+
Float value, default: ``8``
|
|
747
|
+
|
|
748
|
+
Limit rewrite applications relative to graph size to detect infinite loops
|
|
749
|
+
in ``EquilibriumGraphRewriter``.
|
|
750
|
+
|
|
751
|
+
.. attribute:: profiling__time_thunks
|
|
752
|
+
|
|
753
|
+
Bool value, default: ``True``
|
|
754
|
+
|
|
755
|
+
Time individual thunks when profiling.
|
|
756
|
+
|
|
757
|
+
.. attribute:: profiling__output_line_width
|
|
758
|
+
|
|
759
|
+
Int value, default: ``512``
|
|
760
|
+
|
|
761
|
+
Maximum line width of profiling output.
|
|
762
|
+
|
|
763
|
+
.. attribute:: NanGuardMode__action
|
|
764
|
+
|
|
765
|
+
String value: ``'raise'``, ``'warn'``, or ``'pdb'``. Default: ``'raise'``.
|
|
766
|
+
|
|
767
|
+
Action to take when ``NanGuardMode`` finds a problem.
|
|
768
|
+
|
|
769
|
+
.. attribute:: DebugMode__check_c
|
|
770
|
+
|
|
771
|
+
Bool value, default: ``True`` when a C++ compiler is configured, otherwise ``False``.
|
|
772
|
+
|
|
773
|
+
Run available C implementations when checking computations in ``DebugMode``.
|
|
774
|
+
|
|
775
|
+
.. attribute:: DebugMode__check_py
|
|
776
|
+
|
|
777
|
+
Bool value, default: ``True``
|
|
778
|
+
|
|
779
|
+
Run available Python implementations in ``DebugMode``.
|
|
780
|
+
|
|
781
|
+
.. attribute:: DebugMode__check_finite
|
|
782
|
+
|
|
783
|
+
Bool value, default: ``True``
|
|
784
|
+
|
|
785
|
+
Report NaN and infinite results in ``DebugMode``.
|
|
786
|
+
|
|
787
|
+
.. attribute:: DebugMode__check_strides
|
|
788
|
+
|
|
789
|
+
Int value: ``0``, ``1``, or ``2``. Default: ``0``.
|
|
790
|
+
|
|
791
|
+
Compare strides of Python and C results. ``0`` ignores differences, ``1``
|
|
792
|
+
warns, and ``2`` raises an error.
|
|
793
|
+
|
|
794
|
+
.. attribute:: DebugMode__patience
|
|
795
|
+
|
|
796
|
+
Positive int value, default: ``10``
|
|
797
|
+
|
|
798
|
+
Number of times ``DebugMode`` optimizes a graph to detect inconsistent rewrites.
|
|
799
|
+
|
|
800
|
+
.. attribute:: gcc_version_str
|
|
801
|
+
|
|
802
|
+
String value, determined by the configured C++ compiler.
|
|
803
|
+
|
|
804
|
+
Read-only compiler version banner used to identify compiled modules.
|
|
@@ -292,7 +292,7 @@ It is recommended to test your PyTensor/BLAS integration. There are many version
|
|
|
292
292
|
of BLAS that exist and there can be up to 10x speed difference between them.
|
|
293
293
|
Also, having PyTensor link directly against BLAS instead of using NumPy/SciPy as
|
|
294
294
|
an intermediate layer reduces the computational overhead. This is
|
|
295
|
-
important for BLAS calls to ``
|
|
295
|
+
important for BLAS calls to ``gemv`` and small ``gemm`` operations
|
|
296
296
|
(automatically called when needed when you use ``dot()``). To run the
|
|
297
297
|
PyTensor/BLAS speed test:
|
|
298
298
|
|
|
@@ -29,7 +29,9 @@ from pytensor.compile.mode import get_mode
|
|
|
29
29
|
from pytensor.gradient import Lop, Rop, grad, pullback, pushforward
|
|
30
30
|
from pytensor.printing import debugprint as dprint
|
|
31
31
|
|
|
32
|
-
|
|
32
|
+
# Preload the deprecated module before binding the helper with the same name.
|
|
33
|
+
import pytensor.ifelse
|
|
34
|
+
from pytensor.conditional import ifelse
|
|
33
35
|
from pytensor.scan.basic import scan
|
|
34
36
|
from pytensor.scan.views import map
|
|
35
37
|
from pytensor.compile.builders import OpFromGraph
|
|
@@ -8,11 +8,11 @@ import json
|
|
|
8
8
|
|
|
9
9
|
version_json = '''
|
|
10
10
|
{
|
|
11
|
-
"date": "2026-10-
|
|
11
|
+
"date": "2026-10-30T22:09:52+0100",
|
|
12
12
|
"dirty": false,
|
|
13
13
|
"error": null,
|
|
14
|
-
"full-revisionid": "
|
|
15
|
-
"version": "3.3.
|
|
14
|
+
"full-revisionid": "b273b3b342c41c8fcc26e8504fcf65aaac4e9910",
|
|
15
|
+
"version": "3.3.6"
|
|
16
16
|
}
|
|
17
17
|
''' # END VERSION_JSON
|
|
18
18
|
|
|
@@ -278,6 +278,46 @@ def register_constant_inference(key: AssumptionKey, fn: ConstantInferFn) -> None
|
|
|
278
278
|
CONSTANT_INFER_REGISTRY[key] = fn
|
|
279
279
|
|
|
280
280
|
|
|
281
|
+
# Maps (key, Op type) to rules that read a fact about a variable off a node consuming it,
|
|
282
|
+
# such as ``solve(a, b, assume_a="pos")`` promising that ``a`` is positive definite. A rule
|
|
283
|
+
# is called as ``fn(key, op, node, input_index)`` and returns the state of that input.
|
|
284
|
+
ClientInferFn = Callable[[AssumptionKey, Op, Apply, int], FactState]
|
|
285
|
+
CLIENT_INFER_REGISTRY: dict[tuple[AssumptionKey, type], ClientInferFn] = {}
|
|
286
|
+
# Keys with at least one client rule. Inference skips the client scan for every other key.
|
|
287
|
+
CLIENT_INFER_KEYS: set[AssumptionKey] = set()
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
def register_client_inference(
|
|
291
|
+
key: AssumptionKey, *op_types: type
|
|
292
|
+
) -> Callable[[ClientInferFn], ClientInferFn]:
|
|
293
|
+
"""Decorator that registers a client inference rule for ``(key, op_type)`` pairs."""
|
|
294
|
+
|
|
295
|
+
def decorator(fn: ClientInferFn) -> ClientInferFn:
|
|
296
|
+
for op_type in op_types:
|
|
297
|
+
CLIENT_INFER_REGISTRY[(key, op_type)] = fn
|
|
298
|
+
CLIENT_INFER_KEYS.add(key)
|
|
299
|
+
return fn
|
|
300
|
+
|
|
301
|
+
return decorator
|
|
302
|
+
|
|
303
|
+
|
|
304
|
+
def infer_assumption_from_client(
|
|
305
|
+
key: AssumptionKey, op: Op, node: Apply, input_index: int
|
|
306
|
+
) -> FactState:
|
|
307
|
+
"""Return what *node* promises about its input at *input_index* for *key*."""
|
|
308
|
+
# Imported here because pytensor.tensor.rewriting loads this module before tensor.basic,
|
|
309
|
+
# and importing blockwise first trips the compile.builders <-> tensor.basic cycle.
|
|
310
|
+
from pytensor.tensor.blockwise import Blockwise
|
|
311
|
+
|
|
312
|
+
if isinstance(op, Blockwise):
|
|
313
|
+
op = op.core_op
|
|
314
|
+
for cls in type(op).__mro__:
|
|
315
|
+
fn = CLIENT_INFER_REGISTRY.get((key, cls))
|
|
316
|
+
if fn is not None:
|
|
317
|
+
return fn(key, op, node, input_index)
|
|
318
|
+
return FactState.UNKNOWN
|
|
319
|
+
|
|
320
|
+
|
|
281
321
|
# The canonical structural-property keys
|
|
282
322
|
DIAGONAL = AssumptionKey("diagonal", short_name="diag")
|
|
283
323
|
LOWER_TRIANGULAR = AssumptionKey("lower_triangular", short_name="tril")
|
|
@@ -471,7 +511,8 @@ class AssumptionFeature(Feature):
|
|
|
471
511
|
def _compute(self, var: Any, key: AssumptionKey) -> FactState:
|
|
472
512
|
"""Infer the fact state for ``(var, key)``, caching ancestors inputs-first.
|
|
473
513
|
|
|
474
|
-
|
|
514
|
+
When the owner says nothing, asks the clients of ``var`` what they promise about it.
|
|
515
|
+
Then walks the ``IMPLIES`` graph in both directions:
|
|
475
516
|
- Forward: a stronger key being TRUE makes this (weaker) key TRUE.
|
|
476
517
|
- Contrapositive: a weaker key being FALSE makes this (stronger) key FALSE.
|
|
477
518
|
|
|
@@ -508,6 +549,14 @@ class AssumptionFeature(Feature):
|
|
|
508
549
|
else:
|
|
509
550
|
state = FactState.UNKNOWN
|
|
510
551
|
|
|
552
|
+
if state is FactState.UNKNOWN and key in CLIENT_INFER_KEYS:
|
|
553
|
+
for client, input_index in self.fgraph.clients.get(v, ()):
|
|
554
|
+
state = infer_assumption_from_client(
|
|
555
|
+
key, client.op, client, input_index
|
|
556
|
+
)
|
|
557
|
+
if state is not FactState.UNKNOWN:
|
|
558
|
+
break
|
|
559
|
+
|
|
511
560
|
if state is FactState.UNKNOWN:
|
|
512
561
|
for stronger, weaker_list in IMPLIES.items():
|
|
513
562
|
if key in weaker_list and self.get(v, stronger) is FactState.TRUE:
|
|
@@ -14,6 +14,7 @@ from pytensor.assumptions.core import (
|
|
|
14
14
|
register_assumption,
|
|
15
15
|
register_constant_inference,
|
|
16
16
|
)
|
|
17
|
+
from pytensor.assumptions.dimshuffle import conjugate_transpose_input
|
|
17
18
|
from pytensor.assumptions.elemwise import elemwise_preserves_zero_pattern
|
|
18
19
|
from pytensor.assumptions.subtensor import subtensor_propagates_matrix_property
|
|
19
20
|
from pytensor.tensor.basic import Alloc, AllocDiag, Eye
|
|
@@ -95,15 +96,11 @@ register_assumption(DIAGONAL, Subtensor)(subtensor_propagates_matrix_property)
|
|
|
95
96
|
|
|
96
97
|
@register_assumption(DIAGONAL, Dot)
|
|
97
98
|
def _dot_orthogonal_xxt(key, op, feature, fgraph, node, input_states):
|
|
98
|
-
"""x @ x.
|
|
99
|
+
"""x @ x.H and x.H @ x are the identity when x is orthogonal (or unitary)."""
|
|
99
100
|
a, b = node.inputs
|
|
100
|
-
if (
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
and isinstance(b.owner_op, DimShuffle)
|
|
104
|
-
and b.owner_op.is_matrix_transpose
|
|
105
|
-
and b.owner.inputs[0] is a
|
|
106
|
-
):
|
|
101
|
+
if conjugate_transpose_input(b) is a and feature.check(a, ORTHOGONAL):
|
|
102
|
+
return [FactState.TRUE]
|
|
103
|
+
if conjugate_transpose_input(a) is b and feature.check(b, ORTHOGONAL):
|
|
107
104
|
return [FactState.TRUE]
|
|
108
105
|
|
|
109
106
|
return [FactState.UNKNOWN]
|
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
from pytensor.assumptions.core import MATRIX_KEYS, FactState, register_assumption
|
|
2
|
-
from pytensor.
|
|
2
|
+
from pytensor.scalar.basic import Conj
|
|
3
|
+
from pytensor.tensor.elemwise import DimShuffle, Elemwise
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
def conjugate_transpose_input(x):
|
|
7
|
+
"""Return ``X`` when ``x`` is the conjugate transpose of ``X``, else ``None``.
|
|
8
|
+
|
|
9
|
+
For real ``X`` that is ``X.mT``. For complex ``X`` it is ``X.conj().mT`` or
|
|
10
|
+
``X.mT.conj()``. The transpose may also add broadcastable dimensions on the left.
|
|
11
|
+
"""
|
|
12
|
+
match x.owner_op_and_inputs:
|
|
13
|
+
case (DimShuffle(is_left_expanded_matrix_transpose=True), inner):
|
|
14
|
+
if not inner.type.dtype.startswith("complex"):
|
|
15
|
+
return inner
|
|
16
|
+
match inner.owner_op_and_inputs:
|
|
17
|
+
case (Elemwise(Conj()), X):
|
|
18
|
+
return X
|
|
19
|
+
case (Elemwise(Conj()), inner):
|
|
20
|
+
match inner.owner_op_and_inputs:
|
|
21
|
+
case (DimShuffle(is_left_expanded_matrix_transpose=True), X):
|
|
22
|
+
return X
|
|
23
|
+
return None
|
|
3
24
|
|
|
4
25
|
|
|
5
26
|
def left_expand_dims_propagates_matrix_property(op) -> bool:
|
|
@@ -5,17 +5,22 @@ from pytensor.assumptions.core import (
|
|
|
5
5
|
all_inputs_have_key,
|
|
6
6
|
propagate_first,
|
|
7
7
|
register_assumption,
|
|
8
|
+
register_client_inference,
|
|
8
9
|
true_if,
|
|
9
10
|
)
|
|
10
|
-
from pytensor.assumptions.dimshuffle import
|
|
11
|
+
from pytensor.assumptions.dimshuffle import (
|
|
12
|
+
conjugate_transpose_input,
|
|
13
|
+
left_expand_dims_propagates_matrix_property,
|
|
14
|
+
)
|
|
11
15
|
from pytensor.assumptions.dot import match_congruence
|
|
12
16
|
from pytensor.assumptions.subtensor import subtensor_propagates_matrix_property
|
|
13
|
-
from pytensor.scalar.basic import Add,
|
|
17
|
+
from pytensor.scalar.basic import Add, Mul
|
|
14
18
|
from pytensor.tensor.basic import AllocDiag, Eye
|
|
15
19
|
from pytensor.tensor.elemwise import DimShuffle, Elemwise
|
|
16
20
|
from pytensor.tensor.linalg.constructors import BlockDiagonal
|
|
17
21
|
from pytensor.tensor.linalg.inverse import MatrixInverse
|
|
18
22
|
from pytensor.tensor.linalg.products import KroneckerProduct
|
|
23
|
+
from pytensor.tensor.linalg.solvers.general import Solve
|
|
19
24
|
from pytensor.tensor.linalg.solvers.linear_control import (
|
|
20
25
|
SolveBilinearDiscreteLyapunov,
|
|
21
26
|
)
|
|
@@ -44,6 +49,12 @@ register_assumption(POSITIVE_DEFINITE, KroneckerProduct)(all_inputs_have_key)
|
|
|
44
49
|
register_assumption(POSITIVE_DEFINITE, Subtensor)(subtensor_propagates_matrix_property)
|
|
45
50
|
|
|
46
51
|
|
|
52
|
+
@register_client_inference(POSITIVE_DEFINITE, Solve)
|
|
53
|
+
def _solve_promises_positive_definite(key, op, node, input_index):
|
|
54
|
+
"""``assume_a="pos"`` promises a positive definite ``a``."""
|
|
55
|
+
return true_if(input_index == 0 and op.assume_a == "pos")[0]
|
|
56
|
+
|
|
57
|
+
|
|
47
58
|
def _is_psd_full_shape(inp, feature) -> bool:
|
|
48
59
|
"""Whether ``inp`` is a known-PD matrix at full shape over the last two axes.
|
|
49
60
|
|
|
@@ -87,25 +98,6 @@ def _elemwise(key, op, feature, fgraph, node, input_states):
|
|
|
87
98
|
return [FactState.UNKNOWN] * len(node.outputs)
|
|
88
99
|
|
|
89
100
|
|
|
90
|
-
def _is_conjugate_transpose_of(y, x):
|
|
91
|
-
"""Check if y is the conjugate transpose of x (x.T.conj() or x.conj().T)."""
|
|
92
|
-
match y.owner_op_and_inputs:
|
|
93
|
-
case (Elemwise(scalar_op=Conj()), y_inner): # x.T.conj()
|
|
94
|
-
match y_inner.owner_op_and_inputs:
|
|
95
|
-
case (DimShuffle(is_left_expanded_matrix_transpose=True), inner) if (
|
|
96
|
-
inner is x
|
|
97
|
-
):
|
|
98
|
-
return True
|
|
99
|
-
case (
|
|
100
|
-
DimShuffle(is_left_expanded_matrix_transpose=True),
|
|
101
|
-
y_inner,
|
|
102
|
-
): # x.conj().T
|
|
103
|
-
match y_inner.owner_op_and_inputs:
|
|
104
|
-
case (Elemwise(scalar_op=Conj()), inner) if inner is x:
|
|
105
|
-
return True
|
|
106
|
-
return False
|
|
107
|
-
|
|
108
|
-
|
|
109
101
|
@register_assumption(POSITIVE_DEFINITE, DimShuffle)
|
|
110
102
|
def _dimshuffle(key, op, feature, fgraph, node, input_states):
|
|
111
103
|
"""PSD survives matrix transpose and left-expand-dims (batch broadcast)."""
|
|
@@ -134,16 +126,8 @@ def _dot(key, op, feature, fgraph, node, input_states):
|
|
|
134
126
|
x, y = node.inputs
|
|
135
127
|
is_complex = x.type.dtype.startswith("complex")
|
|
136
128
|
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
if _is_conjugate_transpose_of(right, left):
|
|
140
|
-
return [FactState.TRUE]
|
|
141
|
-
else:
|
|
142
|
-
match right.owner_op_and_inputs:
|
|
143
|
-
case (DimShuffle(is_left_expanded_matrix_transpose=True), inner) if (
|
|
144
|
-
inner is left
|
|
145
|
-
):
|
|
146
|
-
return [FactState.TRUE]
|
|
129
|
+
if conjugate_transpose_input(y) is x or conjugate_transpose_input(x) is y:
|
|
130
|
+
return [FactState.TRUE]
|
|
147
131
|
|
|
148
132
|
# Congruence: M @ S @ M.T (or its mirror) is PSD when S is PSD. Only valid
|
|
149
133
|
# for real matrices here -- the complex analogue requires M^H, which would
|
|
@@ -117,7 +117,7 @@ def assume(
|
|
|
117
117
|
positive_definite : bool, optional
|
|
118
118
|
Assert that *x* is (or is not) positive-definite.
|
|
119
119
|
orthogonal : bool, optional
|
|
120
|
-
Assert that *x* is (or is not) orthogonal.
|
|
120
|
+
Assert that *x* is (or is not) orthogonal. For complex *x* this means unitary.
|
|
121
121
|
selection : bool, optional
|
|
122
122
|
Assert that *x* is (or is not) a selection matrix
|
|
123
123
|
permutation : bool, optional
|
|
@@ -9,6 +9,7 @@ from pytensor.assumptions.core import (
|
|
|
9
9
|
all_inputs_have_key,
|
|
10
10
|
propagate_first,
|
|
11
11
|
register_assumption,
|
|
12
|
+
register_client_inference,
|
|
12
13
|
true_if,
|
|
13
14
|
)
|
|
14
15
|
from pytensor.assumptions.dimshuffle import left_expand_dims_propagates_matrix_property
|
|
@@ -19,6 +20,7 @@ from pytensor.tensor.elemwise import DimShuffle, Elemwise
|
|
|
19
20
|
from pytensor.tensor.linalg.constructors import BlockDiagonal
|
|
20
21
|
from pytensor.tensor.linalg.inverse import MatrixInverse, MatrixPinv
|
|
21
22
|
from pytensor.tensor.linalg.products import KroneckerProduct
|
|
23
|
+
from pytensor.tensor.linalg.solvers.general import Solve
|
|
22
24
|
from pytensor.tensor.linalg.solvers.linear_control import (
|
|
23
25
|
SolveBilinearDiscreteLyapunov,
|
|
24
26
|
)
|
|
@@ -55,6 +57,14 @@ register_assumption(SYMMETRIC, KroneckerProduct)(all_inputs_have_key)
|
|
|
55
57
|
register_assumption(SYMMETRIC, Subtensor)(subtensor_propagates_matrix_property)
|
|
56
58
|
|
|
57
59
|
|
|
60
|
+
@register_client_inference(SYMMETRIC, Solve)
|
|
61
|
+
def _solve_promises_symmetric(key, op, node, input_index):
|
|
62
|
+
"""``assume_a`` of "sym" promises a symmetric ``a``, and so does "her" for real dtypes."""
|
|
63
|
+
is_real = not node.inputs[0].type.dtype.startswith("complex")
|
|
64
|
+
promises_symmetric = op.assume_a == "sym" or (op.assume_a == "her" and is_real)
|
|
65
|
+
return true_if(input_index == 0 and promises_symmetric)[0]
|
|
66
|
+
|
|
67
|
+
|
|
58
68
|
@register_assumption(SYMMETRIC, DimShuffle)
|
|
59
69
|
def _dimshuffle(key, op, feature, fgraph, node, input_states):
|
|
60
70
|
"""Symmetry survives matrix transpose and left-expand-dims (batch broadcast)."""
|
|
@@ -32,27 +32,22 @@ def remove_extra_caches(base_compiledir: Path) -> None:
|
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
def print_help(exit_status):
|
|
35
|
+
stream = sys.stderr if exit_status else sys.stdout
|
|
35
36
|
if exit_status:
|
|
36
|
-
print(f'command "{" ".join(sys.argv)}" not recognized')
|
|
37
|
-
print('Type "pytensor-cache" to print the cache location')
|
|
38
|
-
print('Type "pytensor-cache help" to print this help')
|
|
39
|
-
print('Type "pytensor-cache clear" to erase the cache')
|
|
40
|
-
print('Type "pytensor-cache list" to print the cache content')
|
|
41
|
-
print('Type "pytensor-cache unlock" to unlock the cache directory')
|
|
42
|
-
print('Type "pytensor-cache cleanup" to delete keys in the old format/code version')
|
|
43
|
-
print('Type "pytensor-cache purge" to force deletion of the cache directory')
|
|
37
|
+
print(f'command "{" ".join(sys.argv)}" not recognized', file=stream)
|
|
44
38
|
print(
|
|
45
|
-
'Type "pytensor-cache
|
|
46
|
-
"to print
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
'Type "pytensor-cache
|
|
50
|
-
"to
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
'Type "pytensor-cache basecompiledir
|
|
54
|
-
"to remove everything in the base compile dir,
|
|
55
|
-
"that is, erase ALL cache directories"
|
|
39
|
+
'Type "pytensor-cache" to print the cache location\n'
|
|
40
|
+
'Type "pytensor-cache help" to print this help\n'
|
|
41
|
+
'Type "pytensor-cache clear" to erase the cache\n'
|
|
42
|
+
'Type "pytensor-cache list" to print the cache content\n'
|
|
43
|
+
'Type "pytensor-cache unlock" to unlock the cache directory\n'
|
|
44
|
+
'Type "pytensor-cache cleanup" to delete keys in the old format/code version\n'
|
|
45
|
+
'Type "pytensor-cache purge" to force deletion of the cache directory\n'
|
|
46
|
+
'Type "pytensor-cache basecompiledir" to print the parent of the cache directory\n'
|
|
47
|
+
'Type "pytensor-cache basecompiledir list" to print the content of the base compile dir\n'
|
|
48
|
+
'Type "pytensor-cache basecompiledir purge" to remove everything in the base compile dir, '
|
|
49
|
+
"that is, erase ALL cache directories",
|
|
50
|
+
file=stream,
|
|
56
51
|
)
|
|
57
52
|
sys.exit(exit_status)
|
|
58
53
|
|