pytensor 3.3.7__tar.gz → 3.3.8__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.egg-info → pytensor-3.3.8}/PKG-INFO +1 -1
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/_version.py +3 -3
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/compile/builders.py +7 -2
- pytensor-3.3.8/pytensor/link/numba/dispatch/array_utils.py +26 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/numba/dispatch/basic.py +13 -4
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/numba/dispatch/elemwise.py +23 -61
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/numba/dispatch/linalg/constructors.py +7 -6
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/numba/dispatch/linalg/decomposition/cholesky.py +22 -20
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/numba/dispatch/linalg/decomposition/dispatch.py +32 -52
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/numba/dispatch/linalg/decomposition/eigen.py +8 -17
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/numba/dispatch/linalg/decomposition/lu_factor.py +6 -6
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/numba/dispatch/linalg/decomposition/qr.py +15 -28
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/numba/dispatch/linalg/decomposition/qz.py +21 -66
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/numba/dispatch/linalg/decomposition/schur.py +7 -10
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/numba/dispatch/linalg/decomposition/svd.py +26 -21
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/numba/dispatch/linalg/products.py +189 -167
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/numba/dispatch/linalg/solvers/cholesky.py +2 -9
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/numba/dispatch/linalg/solvers/dispatch.py +8 -12
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/numba/dispatch/linalg/solvers/hermitian.py +2 -11
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/numba/dispatch/linalg/solvers/linear_control.py +2 -4
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/numba/dispatch/linalg/solvers/lu_solve.py +2 -11
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/numba/dispatch/linalg/solvers/posdef.py +2 -11
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/numba/dispatch/linalg/solvers/symmetric.py +2 -11
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/numba/dispatch/linalg/solvers/triangular.py +32 -34
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/numba/dispatch/linalg/solvers/tridiagonal.py +5 -5
- pytensor-3.3.8/pytensor/link/numba/dispatch/linalg/utils.py +133 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/numba/dispatch/random.py +13 -17
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/numba/dispatch/tensor_basic.py +3 -2
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/basic.py +4 -1
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/linalg/products.py +9 -1
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/rewriting/ofg.py +9 -10
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/special.py +10 -10
- pytensor-3.3.8/pytensor/tensor/symbolic.py +30 -0
- {pytensor-3.3.7 → pytensor-3.3.8/pytensor.egg-info}/PKG-INFO +1 -1
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor.egg-info/SOURCES.txt +1 -0
- pytensor-3.3.7/pytensor/link/numba/dispatch/linalg/utils.py +0 -56
- pytensor-3.3.7/pytensor/tensor/symbolic.py +0 -10
- {pytensor-3.3.7 → pytensor-3.3.8}/LICENSE.txt +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/MANIFEST.in +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/README.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/.templates/PLACEHOLDER +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/.templates/layout.html +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/.templates/nb-badges.html +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/.templates/rendered_citation.html +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/LICENSE.txt +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/README.md +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/_drafts/benchmark_mlx_v_jax_corrected.ipynb +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/_thumbnails/autodiff/vector_jacobian_product.png +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/_thumbnails/rewrites/assumptions.png +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/acknowledgement.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/bcast.png +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/bcast.svg +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/blog.md +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/conf.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/core_development_guide.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/css.inc +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/dev_start_guide.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/environment.yml +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/extending/apply.png +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/extending/apply.svg +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/extending/apply2.svg +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/extending/creating_a_c_op.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/extending/creating_a_numba_jax_op.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/extending/creating_an_op.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/extending/ctype.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/extending/extending_faq.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/extending/extending_pytensor_solution_1.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/extending/graph_rewriting.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/extending/graphstructures.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/extending/index.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/extending/inplace.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/extending/op.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/extending/other_ops.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/extending/pics/symbolic_graph_opt.png +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/extending/pics/symbolic_graph_unopt.png +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/extending/pipeline.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/extending/scan.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/extending/tips.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/extending/type.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/extending/unification_kanren.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/extending/unittest.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/extending/using_params.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/faq.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/gallery/applications/normalizing_flows_in_pytensor.ipynb +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/gallery/applications/tiny_transformer_llm.ipynb +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/gallery/autodiff/vector_jacobian_product.ipynb +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/gallery/introduction/pytensor_intro.ipynb +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/gallery/optimize/root.ipynb +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/gallery/page_footer.md +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/gallery/rewrites/assumptions.ipynb +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/gallery/rewrites/graph_rewrites.ipynb +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/gallery/scan/scan_tutorial.ipynb +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/generate_dtype_tensor_table.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/glossary.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/images/Elman_srnn.png +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/images/PyTensor.png +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/images/PyTensor_RGB.svg +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/images/PyTensor_logo.png +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/images/binder.svg +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/images/blocksparse.png +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/images/colab.svg +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/images/github.svg +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/images/lstm.png +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/images/lstm_memorycell.png +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/images/talk2010.gif +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/images/talk2010.png +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/index.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/install.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/internal/how_to_release.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/internal/index.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/internal/metadocumentation.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/introduction.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/library/assumptions.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/library/compile/debugmode.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/library/compile/function.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/library/compile/index.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/library/compile/io.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/library/compile/mode.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/library/compile/nanguardmode.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/library/compile/opfromgraph.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/library/compile/ops.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/library/compile/profilemode.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/library/compile/shared.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/library/config.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/library/d3viz/examples/d3viz/css/d3-context-menu.css +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/library/d3viz/examples/d3viz/css/d3viz.css +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/library/d3viz/examples/d3viz/js/d3-context-menu.js +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/library/d3viz/examples/d3viz/js/d3.v3.min.js +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/library/d3viz/examples/d3viz/js/d3viz.js +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/library/d3viz/examples/d3viz/js/dagre-d3.min.js +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/library/d3viz/examples/d3viz/js/graphlib-dot.min.js +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/library/d3viz/examples/mlp.html +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/library/d3viz/examples/mlp.png +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/library/d3viz/examples/mlp2.html +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/library/d3viz/examples/mlp2.pdf +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/library/d3viz/examples/mlp2.png +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/library/d3viz/examples/ofg.html +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/library/d3viz/examples/ofg2.html +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/library/d3viz/index.ipynb +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/library/d3viz/index.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/library/d3viz/index_files/index_10_0.png +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/library/d3viz/index_files/index_11_0.png +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/library/d3viz/index_files/index_24_0.png +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/library/d3viz/index_files/index_25_0.png +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/library/graph/features.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/library/graph/fgraph.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/library/graph/graph.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/library/graph/index.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/library/graph/op.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/library/graph/replace.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/library/graph/traversal.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/library/graph/type.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/library/graph/utils.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/library/index.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/library/misc/pkl_utils.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/library/printing.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/library/scalar/index.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/library/scan.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/library/sparse/index.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/library/sparse/sandbox.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/library/tensor/basic.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/library/tensor/basic_opt.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/library/tensor/bcast.png +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/library/tensor/bcast.svg +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/library/tensor/elemwise.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/library/tensor/extra_ops.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/library/tensor/fft.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/library/tensor/functional.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/library/tensor/index.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/library/tensor/io.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/library/tensor/linalg.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/library/tensor/math_opt.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/library/tensor/nlinalg.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/library/tensor/optimize.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/library/tensor/plot_fft.png +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/library/tensor/random.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/library/tensor/slinalg.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/library/tensor/utils.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/library/typed_list.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/library/xtensor/index.md +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/library/xtensor/linalg.md +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/library/xtensor/math.md +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/library/xtensor/module_functions.md +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/library/xtensor/random.md +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/library/xtensor/signal.md +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/library/xtensor/type.md +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/links.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/optimizations.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/pylintrc +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/robots.txt +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/troubleshooting.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/tutorial/adding.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/tutorial/adding_solution_1.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/tutorial/aliasing.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/tutorial/apply.png +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/tutorial/apply.svg +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/tutorial/bcast.png +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/tutorial/broadcasting.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/tutorial/conditions.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/tutorial/debug_faq.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/tutorial/dlogistic.png +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/tutorial/examples.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/tutorial/faq_tutorial.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/tutorial/gradients.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/tutorial/index.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/tutorial/loading_and_saving.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/tutorial/logistic.gp +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/tutorial/logistic.png +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/tutorial/loop.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/tutorial/loop_solution_1.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/tutorial/modes.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/tutorial/modes_solution_1.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/tutorial/multi_cores.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/tutorial/nan_tutorial.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/tutorial/pics/d3viz.png +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/tutorial/pics/logreg_pydotprint_predict.png +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/tutorial/pics/logreg_pydotprint_prediction.png +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/tutorial/pics/logreg_pydotprint_train.png +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/tutorial/printing_drawing.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/tutorial/prng.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/tutorial/profiling.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/tutorial/profiling_example.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/tutorial/profiling_example_out.prof +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/tutorial/shape_info.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/tutorial/sparse.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/tutorial/symbolic_graphs.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/doc/user_guide.rst +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pyproject.toml +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/_sparse_lazy.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/assumptions/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/assumptions/alloc.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/assumptions/blockwise.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/assumptions/bundles.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/assumptions/core.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/assumptions/diagonal.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/assumptions/dimshuffle.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/assumptions/dot.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/assumptions/elemwise.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/assumptions/orthogonal.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/assumptions/permutation.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/assumptions/positive_definite.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/assumptions/reshape.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/assumptions/selection.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/assumptions/shape.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/assumptions/specify.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/assumptions/subtensor.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/assumptions/symmetric.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/assumptions/triangular.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/assumptions/tridiagonal.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/assumptions/unit_magnitude.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/basic.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/bin/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/bin/pytensor_cache.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/breakpoint.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/compile/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/compile/aliasing.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/compile/compiledir.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/compile/compilelock.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/compile/debug/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/compile/debug/debugmode.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/compile/debug/dump.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/compile/debug/monitormode.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/compile/debug/nanguardmode.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/compile/debug/profiling.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/compile/executor.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/compile/inner_function.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/compile/io.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/compile/maker.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/compile/mode.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/compile/ops.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/compile/rebuild.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/compile/rewriting.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/compile/sharedvalue.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/conditional/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/conditional/op.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/conditional/rewriting.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/configdefaults.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/configparser.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/d3viz/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/d3viz/css/d3-context-menu.css +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/d3viz/css/d3viz.css +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/d3viz/d3viz.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/d3viz/formatting.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/d3viz/html/template.html +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/d3viz/js/d3-context-menu.js +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/d3viz/js/d3.v3.min.js +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/d3viz/js/d3viz.js +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/d3viz/js/dagre-d3.min.js +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/d3viz/js/graphlib-dot.min.js +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/gradient.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/graph/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/graph/basic.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/graph/destroyhandler.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/graph/features.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/graph/fg.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/graph/null_type.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/graph/op.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/graph/replace.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/graph/rewriting/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/graph/rewriting/basic.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/graph/rewriting/db.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/graph/rewriting/kanren.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/graph/rewriting/reachability.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/graph/rewriting/unify.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/graph/rewriting/utils.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/graph/traversal.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/graph/type.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/graph/utils.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/ifelse.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/ipython.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/basic.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/c/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/c/basic.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/c/c_code/lazylinker_c.c +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/c/c_code/pytensor_mod_helper.h +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/c/cmodule.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/c/cutils.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/c/cvm.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/c/exceptions.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/c/interface.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/c/lazylinker_c.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/c/op.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/c/params_type.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/c/type.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/jax/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/jax/dispatch/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/jax/dispatch/basic.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/jax/dispatch/blas.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/jax/dispatch/blockwise.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/jax/dispatch/einsum.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/jax/dispatch/elemwise.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/jax/dispatch/extra_ops.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/jax/dispatch/linalg/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/jax/dispatch/linalg/constructors.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/jax/dispatch/linalg/decomposition.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/jax/dispatch/linalg/inverse.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/jax/dispatch/linalg/products.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/jax/dispatch/linalg/solvers.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/jax/dispatch/linalg/summary.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/jax/dispatch/math.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/jax/dispatch/pad.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/jax/dispatch/random.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/jax/dispatch/scalar.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/jax/dispatch/scan.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/jax/dispatch/shape.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/jax/dispatch/signal/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/jax/dispatch/signal/conv.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/jax/dispatch/sort.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/jax/dispatch/sparse.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/jax/dispatch/subtensor.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/jax/dispatch/tensor_basic.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/jax/linker.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/jax/ops.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/mlx/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/mlx/dispatch/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/mlx/dispatch/basic.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/mlx/dispatch/blas.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/mlx/dispatch/blockwise.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/mlx/dispatch/einsum.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/mlx/dispatch/elemwise.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/mlx/dispatch/extra_ops.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/mlx/dispatch/linalg/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/mlx/dispatch/linalg/decomposition.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/mlx/dispatch/linalg/inverse.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/mlx/dispatch/linalg/products.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/mlx/dispatch/linalg/solvers.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/mlx/dispatch/linalg/summary.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/mlx/dispatch/math.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/mlx/dispatch/pad.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/mlx/dispatch/random.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/mlx/dispatch/scalar/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/mlx/dispatch/scalar/basic.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/mlx/dispatch/scalar/bessel.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/mlx/dispatch/scalar/beta.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/mlx/dispatch/scalar/erf.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/mlx/dispatch/scalar/erfcinv.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/mlx/dispatch/scalar/gamma.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/mlx/dispatch/scalar/gammainc.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/mlx/dispatch/scalar/helpers.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/mlx/dispatch/scalar/math.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/mlx/dispatch/shape.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/mlx/dispatch/signal/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/mlx/dispatch/signal/conv.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/mlx/dispatch/sort.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/mlx/dispatch/subtensor.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/mlx/dispatch/tensor_basic.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/mlx/linker.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/numba/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/numba/cache.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/numba/dispatch/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/numba/dispatch/_llvmlite_self_ref.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/numba/dispatch/_patch_list_to_tuple.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/numba/dispatch/_patch_pointer_add.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/numba/dispatch/blockwise.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/numba/dispatch/compile_ops.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/numba/dispatch/cython_support.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/numba/dispatch/extra_ops.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/numba/dispatch/linalg/_BLAS.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/numba/dispatch/linalg/_LAPACK.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/numba/dispatch/linalg/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/numba/dispatch/linalg/decomposition/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/numba/dispatch/linalg/decomposition/lu.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/numba/dispatch/linalg/inverse.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/numba/dispatch/linalg/solvers/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/numba/dispatch/linalg/solvers/general.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/numba/dispatch/linalg/solvers/utils.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/numba/dispatch/linalg/summary.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/numba/dispatch/scalar.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/numba/dispatch/scan.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/numba/dispatch/shape.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/numba/dispatch/signal/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/numba/dispatch/signal/conv.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/numba/dispatch/sort.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/numba/dispatch/sparse/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/numba/dispatch/sparse/basic.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/numba/dispatch/sparse/math.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/numba/dispatch/sparse/variable.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/numba/dispatch/string_codegen.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/numba/dispatch/subtensor.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/numba/dispatch/typed_list.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/numba/dispatch/vectorize_codegen.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/numba/linker.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/pytorch/dispatch/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/pytorch/dispatch/basic.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/pytorch/dispatch/blas.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/pytorch/dispatch/blockwise.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/pytorch/dispatch/elemwise.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/pytorch/dispatch/extra_ops.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/pytorch/dispatch/linalg/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/pytorch/dispatch/linalg/decomposition.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/pytorch/dispatch/linalg/inverse.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/pytorch/dispatch/linalg/products.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/pytorch/dispatch/linalg/summary.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/pytorch/dispatch/math.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/pytorch/dispatch/scalar.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/pytorch/dispatch/shape.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/pytorch/dispatch/sort.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/pytorch/dispatch/subtensor.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/pytorch/linker.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/utils.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/vm.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/misc/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/misc/check_blas.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/misc/check_blas_many.sh +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/misc/check_duplicate_key.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/misc/elemwise_openmp_speedup.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/misc/elemwise_time_test.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/misc/frozendict.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/misc/may_share_memory.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/misc/ordered_set.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/misc/pkl_utils.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/npy_2_compat.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/printing.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/py.typed +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/raise_op.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/scalar/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/scalar/basic.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/scalar/c_code/Faddeeva.cc +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/scalar/c_code/Faddeeva.hh +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/scalar/c_code/gamma.c +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/scalar/c_code/incbet.c +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/scalar/loop.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/scalar/math.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/scalar/sharedvar.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/scan/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/scan/basic.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/scan/checkpoints.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/scan/op.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/scan/rewriting/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/scan/rewriting/db.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/scan/rewriting/inner_graph.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/scan/rewriting/inplace.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/scan/rewriting/io.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/scan/rewriting/merge.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/scan/rewriting/push_out.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/scan/rewriting/trace.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/scan/rewriting/utils.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/scan/scan_perform.pyx +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/scan/scan_perform_ext.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/scan/utils.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/scan/views.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/sparse/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/sparse/basic.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/sparse/linalg.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/sparse/math.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/sparse/rewriting.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/sparse/sharedvar.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/sparse/type.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/sparse/utils.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/sparse/variable.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/blas/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/blas/_core.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/blas/batched.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/blas/blas_c.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/blas/c_code/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/blas/c_code/alt_blas_common.h +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/blas/c_code/alt_blas_template.c +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/blas/c_code/blas_headers.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/blas/c_code/codegen.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/blas/gemm.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/blas/gemv.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/blockwise.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/einsum.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/elemwise.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/elemwise_cgen.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/exceptions.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/extra_ops.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/fft.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/fourier.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/functional.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/interpolate.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/linalg/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/linalg/_lazy.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/linalg/constructors.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/linalg/decomposition/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/linalg/decomposition/cholesky.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/linalg/decomposition/eigen.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/linalg/decomposition/lu.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/linalg/decomposition/qr.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/linalg/decomposition/schur.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/linalg/decomposition/svd.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/linalg/dtype_utils.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/linalg/inverse.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/linalg/solvers/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/linalg/solvers/core.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/linalg/solvers/general.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/linalg/solvers/linear_control.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/linalg/solvers/lstsq.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/linalg/solvers/psd.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/linalg/solvers/triangular.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/linalg/solvers/tridiagonal.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/linalg/summary.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/math.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/nlinalg.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/optimize.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/pad.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/random/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/random/basic.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/random/op.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/random/rewriting/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/random/rewriting/basic.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/random/rewriting/jax.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/random/rewriting/numba.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/random/type.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/random/utils.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/random/variable.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/reshape.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/rewriting/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/rewriting/assumptions.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/rewriting/basic.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/rewriting/blas.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/rewriting/blas_c.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/rewriting/blockwise.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/rewriting/einsum.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/rewriting/elemwise.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/rewriting/extra_ops.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/rewriting/fused_elemwise.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/rewriting/jax.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/rewriting/linalg/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/rewriting/linalg/decomposition.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/rewriting/linalg/inverse.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/rewriting/linalg/products.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/rewriting/linalg/reassociate_matmul.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/rewriting/linalg/solvers.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/rewriting/linalg/summary.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/rewriting/linalg/utils.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/rewriting/math.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/rewriting/numba.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/rewriting/optimize.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/rewriting/reshape.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/rewriting/scalarize.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/rewriting/shape.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/rewriting/sort.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/rewriting/special.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/rewriting/subtensor.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/rewriting/subtensor_lift.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/rewriting/uncanonicalize.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/shape.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/sharedvar.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/signal/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/signal/conv.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/slinalg.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/sort.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/subtensor.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/type.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/type_other.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/utils.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/var.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/variable.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/tensor/xlogx.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/typed_list/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/typed_list/basic.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/typed_list/rewriting.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/typed_list/type.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/utils.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/xtensor/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/xtensor/basic.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/xtensor/indexing.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/xtensor/linalg.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/xtensor/math.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/xtensor/random/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/xtensor/random/basic.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/xtensor/random/type.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/xtensor/random/variable.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/xtensor/reduction.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/xtensor/rewriting/__init__.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/xtensor/rewriting/basic.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/xtensor/rewriting/indexing.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/xtensor/rewriting/math.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/xtensor/rewriting/reduction.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/xtensor/rewriting/shape.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/xtensor/rewriting/utils.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/xtensor/rewriting/vectorization.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/xtensor/shape.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/xtensor/signal.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/xtensor/type.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor/xtensor/vectorization.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor.egg-info/dependency_links.txt +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor.egg-info/entry_points.txt +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor.egg-info/requires.txt +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/pytensor.egg-info/top_level.txt +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/scripts/mypy-failing.txt +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/scripts/slowest_tests/update-slowest-times-issue.sh +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/setup.cfg +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/setup.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/tests/link/c/c_code/test_cenum.h +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/tests/link/c/c_code/test_quadratic_function.c +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/tests/test_basic.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/tests/test_breakpoint.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/tests/test_config.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/tests/test_gradient.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/tests/test_printing.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/tests/test_pytensor_cache.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/tests/test_raise_op.py +0 -0
- {pytensor-3.3.7 → pytensor-3.3.8}/tests/test_rop.py +0 -0
|
@@ -8,11 +8,11 @@ import json
|
|
|
8
8
|
|
|
9
9
|
version_json = '''
|
|
10
10
|
{
|
|
11
|
-
"date": "2026-
|
|
11
|
+
"date": "2026-11-07T22:20:20+0100",
|
|
12
12
|
"dirty": false,
|
|
13
13
|
"error": null,
|
|
14
|
-
"full-revisionid": "
|
|
15
|
-
"version": "3.3.
|
|
14
|
+
"full-revisionid": "47e06a8d4a5b67edae38ce533b51ecb5c889a491",
|
|
15
|
+
"version": "3.3.8"
|
|
16
16
|
}
|
|
17
17
|
''' # END VERSION_JSON
|
|
18
18
|
|
|
@@ -557,6 +557,11 @@ class OpFromGraph(HasInnerFunction, Op):
|
|
|
557
557
|
)
|
|
558
558
|
return outputs
|
|
559
559
|
|
|
560
|
+
@property
|
|
561
|
+
def derivative_op_type(self):
|
|
562
|
+
"""Type used to wrap automatically constructed derivative graphs."""
|
|
563
|
+
return OpFromGraph
|
|
564
|
+
|
|
560
565
|
def _build_and_cache_lop_op(
|
|
561
566
|
self, disconnected_output_grads: tuple[bool, ...]
|
|
562
567
|
) -> Callable:
|
|
@@ -657,7 +662,7 @@ class OpFromGraph(HasInnerFunction, Op):
|
|
|
657
662
|
for inp_grad in input_grads
|
|
658
663
|
if not isinstance(inp_grad.type, DisconnectedType | NullType)
|
|
659
664
|
]
|
|
660
|
-
lop_op =
|
|
665
|
+
lop_op = self.derivative_op_type(
|
|
661
666
|
inputs=inner_inputs + all_inner_outputs + connected_output_grads,
|
|
662
667
|
outputs=connected_input_grads,
|
|
663
668
|
inline=self.is_inline,
|
|
@@ -751,7 +756,7 @@ class OpFromGraph(HasInnerFunction, Op):
|
|
|
751
756
|
for out_grad in output_grads
|
|
752
757
|
if not isinstance(out_grad.type, DisconnectedType | NullType)
|
|
753
758
|
]
|
|
754
|
-
rop_op =
|
|
759
|
+
rop_op = self.derivative_op_type(
|
|
755
760
|
inputs=inner_inputs + eval_points,
|
|
756
761
|
outputs=filtered_output_grads,
|
|
757
762
|
inline=self.is_inline,
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import numpy as np
|
|
2
|
+
from numba.core.extending import overload
|
|
3
|
+
|
|
4
|
+
from pytensor.link.numba.cache import compile_numba_function_src
|
|
5
|
+
from pytensor.link.numba.dispatch.string_codegen import create_tuple_string
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
def _copyto(dst, src):
|
|
9
|
+
"""Copy equal-shaped arrays without broadcasting or overlap handling."""
|
|
10
|
+
for idx in np.ndindex(dst.shape):
|
|
11
|
+
dst[idx] = src[idx]
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
@overload(_copyto, inline="always")
|
|
15
|
+
def _copyto_impl(dst, src):
|
|
16
|
+
axes = range(dst.ndim)
|
|
17
|
+
if dst.layout == "F":
|
|
18
|
+
axes = reversed(axes)
|
|
19
|
+
lines = ["def copyto(dst, src):"]
|
|
20
|
+
indent = " "
|
|
21
|
+
for axis in axes:
|
|
22
|
+
lines.append(f"{indent}for i{axis} in range(dst.shape[{axis}]):")
|
|
23
|
+
indent += " "
|
|
24
|
+
idx = create_tuple_string([f"i{axis}" for axis in range(dst.ndim)])
|
|
25
|
+
lines.append(f"{indent}dst[{idx}] = src[{idx}]")
|
|
26
|
+
return compile_numba_function_src("\n".join(lines), "copyto")
|
|
@@ -448,7 +448,7 @@ def register_funcify_and_cache_key(op_type):
|
|
|
448
448
|
return decorator
|
|
449
449
|
|
|
450
450
|
|
|
451
|
-
def numba_funcify_ensure_cache(op,
|
|
451
|
+
def numba_funcify_ensure_cache(op, node=None, **kwargs) -> tuple[Callable, str | None]:
|
|
452
452
|
"""Obtain a numba function for an Op and ensure it can be cached by numba.
|
|
453
453
|
|
|
454
454
|
If `config.numba__cache` is `True`, and `numba_funcify_and_cache_key` returns a non-None key,
|
|
@@ -460,15 +460,24 @@ def numba_funcify_ensure_cache(op, *args, **kwargs) -> tuple[Callable, str | Non
|
|
|
460
460
|
2. String generated functions: Alloc, Scan, OpFromGraph, and FunctionGraph itself
|
|
461
461
|
"""
|
|
462
462
|
if config.numba__cache:
|
|
463
|
-
jitable_func, cache_key = numba_funcify_and_cache_key(op,
|
|
463
|
+
jitable_func, cache_key = numba_funcify_and_cache_key(op, node=node, **kwargs)
|
|
464
464
|
else:
|
|
465
|
-
jitable_func, cache_key = numba_funcify(op,
|
|
465
|
+
jitable_func, cache_key = numba_funcify(op, node=node, **kwargs), None
|
|
466
466
|
|
|
467
467
|
if cache_key is None:
|
|
468
468
|
if config.numba__cache and config.compiler_verbose:
|
|
469
469
|
print(f"{op} of type {type(op)} will not be cached by PyTensor.\n") # noqa: T201
|
|
470
470
|
return jitable_func, None
|
|
471
471
|
else:
|
|
472
|
+
if (
|
|
473
|
+
len((node := op if isinstance(op, AbstractFunctionGraph) else node).inputs)
|
|
474
|
+
> 1000
|
|
475
|
+
):
|
|
476
|
+
# Skip the wrapper that enables caching this subkernel: its *args
|
|
477
|
+
# tuple would exceed Numba's limit. Keep the key so enclosing graphs
|
|
478
|
+
# can still be cached.
|
|
479
|
+
return jitable_func, cache_key
|
|
480
|
+
|
|
472
481
|
op_name = jitable_func.__name__
|
|
473
482
|
cached_func = compile_numba_function_src(
|
|
474
483
|
src=f"def {op_name}(*args): return jitable_func(*args)",
|
|
@@ -561,7 +570,7 @@ def numba_funcify_FunctionGraph(
|
|
|
561
570
|
**kwargs,
|
|
562
571
|
)
|
|
563
572
|
if not fgraph_can_be_cached[0]:
|
|
564
|
-
#
|
|
573
|
+
# Without a key for every element, we cannot identify the whole graph.
|
|
565
574
|
fgraph_key = None
|
|
566
575
|
else:
|
|
567
576
|
# Add graph coordinate information for fgraph outputs
|
|
@@ -1517,14 +1517,9 @@ def numba_funcify_Argmax(op, node, **kwargs):
|
|
|
1517
1517
|
return argmax, cache_version
|
|
1518
1518
|
|
|
1519
1519
|
|
|
1520
|
-
_GEMM_DTYPES = frozenset(
|
|
1521
|
-
np.dtype(name) for name in ("float32", "float64", "complex64", "complex128")
|
|
1522
|
-
)
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
1520
|
@register_funcify_default_op_cache_key(Dot)
|
|
1526
1521
|
def numba_funcify_Dot(op, node, **kwargs):
|
|
1527
|
-
# Numba's
|
|
1522
|
+
# Numba's BLAS kernels require floating-point or complex operands.
|
|
1528
1523
|
x, y = node.inputs
|
|
1529
1524
|
[out] = node.outputs
|
|
1530
1525
|
|
|
@@ -1533,7 +1528,6 @@ def numba_funcify_Dot(op, node, **kwargs):
|
|
|
1533
1528
|
|
|
1534
1529
|
numba_dot_dtype = out_dtype = out.type.numpy_dtype
|
|
1535
1530
|
if out_dtype.kind not in "fc":
|
|
1536
|
-
# Numba alawys returns non-integral outputs, we need to cast to float
|
|
1537
1531
|
numba_dot_dtype = np.dtype(
|
|
1538
1532
|
f"float{max((32, out.type.numpy_dtype.itemsize * 8))}"
|
|
1539
1533
|
)
|
|
@@ -1546,40 +1540,21 @@ def numba_funcify_Dot(op, node, **kwargs):
|
|
|
1546
1540
|
f"{x_dtype=}, {y_dtype=}, {out_dtype=}, {numba_dot_dtype=}"
|
|
1547
1541
|
)
|
|
1548
1542
|
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
# their leading dimension, where `np.dot` would copy them first.
|
|
1552
|
-
@numba_basic.numba_njit
|
|
1553
|
-
def product(x, y, out):
|
|
1554
|
-
return _gemm(x, y, out)
|
|
1555
|
-
|
|
1556
|
-
else:
|
|
1557
|
-
|
|
1558
|
-
@numba_basic.numba_njit
|
|
1559
|
-
def product(x, y, out):
|
|
1560
|
-
np.dot(x, y, out)
|
|
1561
|
-
return out
|
|
1562
|
-
|
|
1563
|
-
@numba_basic.numba_njit
|
|
1564
|
-
def as_is(a):
|
|
1565
|
-
return a
|
|
1566
|
-
|
|
1567
|
-
@numba_basic.numba_njit
|
|
1568
|
-
def to_dot_dtype(a):
|
|
1569
|
-
return a.astype(numba_dot_dtype)
|
|
1570
|
-
|
|
1571
|
-
cast_x = as_is if x_dtype == numba_dot_dtype else to_dot_dtype
|
|
1572
|
-
cast_y = as_is if y_dtype == numba_dot_dtype else to_dot_dtype
|
|
1543
|
+
cast_x = x_dtype != numba_dot_dtype
|
|
1544
|
+
cast_y = y_dtype != numba_dot_dtype
|
|
1573
1545
|
|
|
1574
1546
|
@numba_basic.numba_njit
|
|
1575
1547
|
def dot(x, y, out=None):
|
|
1576
1548
|
if out is None:
|
|
1577
1549
|
out = np.empty((x.shape[0], y.shape[1]), dtype=numba_dot_dtype)
|
|
1578
|
-
|
|
1550
|
+
if cast_x:
|
|
1551
|
+
x = x.astype(numba_dot_dtype)
|
|
1552
|
+
if cast_y:
|
|
1553
|
+
y = y.astype(numba_dot_dtype)
|
|
1554
|
+
return _gemm(x, y, out)
|
|
1579
1555
|
|
|
1580
|
-
# Bump whenever `_gemm` changes
|
|
1581
|
-
|
|
1582
|
-
cache_version = 3
|
|
1556
|
+
# Bump whenever `_gemm` changes, because its source is not part of this key.
|
|
1557
|
+
cache_version = 5
|
|
1583
1558
|
|
|
1584
1559
|
if out_dtype == numba_dot_dtype:
|
|
1585
1560
|
# The product writes straight into the pre-allocated batch output slice.
|
|
@@ -1599,33 +1574,20 @@ def numba_funcify_Dot(op, node, **kwargs):
|
|
|
1599
1574
|
@register_funcify_default_op_cache_key(BatchedDot)
|
|
1600
1575
|
def numba_funcify_BatchedDot(op, node, **kwargs):
|
|
1601
1576
|
dtype = node.outputs[0].type.numpy_dtype
|
|
1602
|
-
x, y = node.inputs
|
|
1603
|
-
|
|
1604
|
-
# Numba does not support 3D matmul (numba#3804), so either path loops over the batch.
|
|
1605
|
-
if x.type.numpy_dtype == y.type.numpy_dtype == dtype and dtype in _GEMM_DTYPES:
|
|
1606
|
-
|
|
1607
|
-
@numba_basic.numba_njit
|
|
1608
|
-
def batched_dot(x, y, out=None):
|
|
1609
|
-
if out is None:
|
|
1610
|
-
shape = x.shape[:-1] + y.shape[2:]
|
|
1611
|
-
out = np.empty(shape, dtype=dtype)
|
|
1612
|
-
for i in range(out.shape[0]):
|
|
1613
|
-
# Writes into out[i] directly and reads an F-ordered slice without a copy
|
|
1614
|
-
_gemm(x[i], y[i], out[i])
|
|
1615
1577
|
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
for i in range(out.shape[0]):
|
|
1626
|
-
out[i] = np.dot(x[i], y[i])
|
|
1578
|
+
# Numba does not support 3D matmul (numba#3804), so loop over the batch.
|
|
1579
|
+
@numba_basic.numba_njit
|
|
1580
|
+
def batched_dot(x, y, out=None):
|
|
1581
|
+
if out is None:
|
|
1582
|
+
shape = x.shape[:-1] + y.shape[2:]
|
|
1583
|
+
out = np.empty(shape, dtype=dtype)
|
|
1584
|
+
for i in range(out.shape[0]):
|
|
1585
|
+
# Writes into out[i] directly and reads an F-ordered slice without a copy
|
|
1586
|
+
_gemm(x[i], y[i], out[i])
|
|
1627
1587
|
|
|
1628
|
-
|
|
1588
|
+
return out
|
|
1629
1589
|
|
|
1630
1590
|
batched_dot.handles_out = True
|
|
1631
|
-
|
|
1591
|
+
# Bump whenever `_gemm` changes, because its source is not part of this key.
|
|
1592
|
+
cache_version = 4
|
|
1593
|
+
return batched_dot, cache_version
|
|
@@ -2,6 +2,7 @@ import numpy as np
|
|
|
2
2
|
|
|
3
3
|
from pytensor.link.numba.cache import compile_numba_function_src
|
|
4
4
|
from pytensor.link.numba.dispatch import basic as numba_basic
|
|
5
|
+
from pytensor.link.numba.dispatch.array_utils import _copyto
|
|
5
6
|
from pytensor.link.numba.dispatch.basic import register_funcify_default_op_cache_key
|
|
6
7
|
from pytensor.link.numba.dispatch.string_codegen import (
|
|
7
8
|
CODE_TOKEN,
|
|
@@ -28,17 +29,17 @@ def numba_funcify_BlockDiagonal(op, node, **kwargs):
|
|
|
28
29
|
|
|
29
30
|
r, c = 0, 0
|
|
30
31
|
rr, cc = arr0.shape
|
|
31
|
-
out[r: r + rr, c: c + cc]
|
|
32
|
+
_copyto(out[r: r + rr, c: c + cc], arr0)
|
|
32
33
|
r += rr
|
|
33
34
|
c += cc
|
|
34
35
|
|
|
35
36
|
rr, cc = arr1.shape
|
|
36
|
-
out[r: r + rr, c: c + cc]
|
|
37
|
+
_copyto(out[r: r + rr, c: c + cc], arr1)
|
|
37
38
|
r += rr
|
|
38
39
|
c += cc
|
|
39
40
|
|
|
40
41
|
rr, cc = arr2.shape
|
|
41
|
-
out[r: r + rr, c: c + cc]
|
|
42
|
+
_copyto(out[r: r + rr, c: c + cc], arr2)
|
|
42
43
|
r += rr
|
|
43
44
|
c += cc
|
|
44
45
|
|
|
@@ -68,7 +69,7 @@ def numba_funcify_BlockDiagonal(op, node, **kwargs):
|
|
|
68
69
|
code.extend(
|
|
69
70
|
[
|
|
70
71
|
f"rr, cc = {arg_name}.shape",
|
|
71
|
-
f"out[r: r + rr, c: c + cc]
|
|
72
|
+
f"_copyto(out[r: r + rr, c: c + cc], {arg_name})",
|
|
72
73
|
"r += rr",
|
|
73
74
|
"c += cc",
|
|
74
75
|
CODE_TOKEN.EMPTY_LINE,
|
|
@@ -80,10 +81,10 @@ def numba_funcify_BlockDiagonal(op, node, **kwargs):
|
|
|
80
81
|
block_diag = compile_numba_function_src(
|
|
81
82
|
code_txt,
|
|
82
83
|
"block_diagonal",
|
|
83
|
-
|
|
84
|
+
{"np": np, "_copyto": _copyto},
|
|
84
85
|
)
|
|
85
86
|
|
|
86
87
|
block_diag = numba_basic.numba_njit(block_diag)
|
|
87
88
|
block_diag.handles_out = True
|
|
88
|
-
cache_version =
|
|
89
|
+
cache_version = 3
|
|
89
90
|
return block_diag, cache_version
|
{pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/numba/dispatch/linalg/decomposition/cholesky.py
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import numpy as np
|
|
2
2
|
from numba.core.extending import overload
|
|
3
3
|
from numba.core.types import Complex, Float
|
|
4
|
-
from numba.np.linalg import
|
|
4
|
+
from numba.np.linalg import ensure_lapack
|
|
5
5
|
from scipy import linalg
|
|
6
6
|
|
|
7
7
|
from pytensor.link.numba.dispatch.linalg._LAPACK import (
|
|
@@ -9,7 +9,12 @@ from pytensor.link.numba.dispatch.linalg._LAPACK import (
|
|
|
9
9
|
int_ptr_to_val,
|
|
10
10
|
val_to_int_ptr,
|
|
11
11
|
)
|
|
12
|
-
from pytensor.link.numba.dispatch.linalg.utils import
|
|
12
|
+
from pytensor.link.numba.dispatch.linalg.utils import (
|
|
13
|
+
_c_work_array,
|
|
14
|
+
_check_linalg_matrix,
|
|
15
|
+
_fortran_work_array,
|
|
16
|
+
_full_fortran_order,
|
|
17
|
+
)
|
|
13
18
|
|
|
14
19
|
|
|
15
20
|
def _cholesky(a, lower=False, overwrite_a=False):
|
|
@@ -23,27 +28,27 @@ def cholesky_impl(A, lower=0, overwrite_a=False):
|
|
|
23
28
|
dtype = A.dtype
|
|
24
29
|
|
|
25
30
|
numba_potrf = _LAPACK().numba_xpotrf(dtype)
|
|
26
|
-
#
|
|
27
|
-
#
|
|
28
|
-
|
|
31
|
+
# A c_contiguous A reinterpreted as f_contiguous is A^T. potrf(A^T, UPLO='U')
|
|
32
|
+
# produces U where U.T == L (the correct lower factor), even for complex Hermitian
|
|
33
|
+
# matrices, and the .T return corrects the result. Choosing this from the type
|
|
34
|
+
# keeps every return path one layout.
|
|
35
|
+
transposed = A.layout == "C"
|
|
29
36
|
|
|
30
37
|
def impl(A, lower=False, overwrite_a=False):
|
|
38
|
+
if A.size == 0:
|
|
39
|
+
if transposed:
|
|
40
|
+
return np.zeros(A.shape, dtype=A.dtype)
|
|
41
|
+
return _full_fortran_order(A.shape, 0, A.dtype)
|
|
42
|
+
|
|
31
43
|
_N = np.int32(A.shape[-1])
|
|
32
44
|
if A.shape[-2] != _N:
|
|
33
45
|
raise linalg.LinAlgError("Last 2 dimensions of A must be square")
|
|
34
46
|
|
|
35
|
-
transposed
|
|
36
|
-
|
|
37
|
-
A_copy = A
|
|
38
|
-
elif input_mutable and overwrite_a and A.flags.c_contiguous:
|
|
39
|
-
# c_contiguous A reinterpreted as f_contiguous is A^T.
|
|
40
|
-
# potrf(A^T, UPLO='U') produces U where U.T == L (the correct lower factor),
|
|
41
|
-
# even for complex Hermitian matrices. The .T return corrects the result.
|
|
42
|
-
A_copy = A.T
|
|
43
|
-
transposed = True
|
|
47
|
+
if transposed:
|
|
48
|
+
A_copy = _c_work_array(A, overwrite_a).T
|
|
44
49
|
lower = not lower
|
|
45
50
|
else:
|
|
46
|
-
A_copy =
|
|
51
|
+
A_copy = _fortran_work_array(A, overwrite_a)
|
|
47
52
|
|
|
48
53
|
UPLO = val_to_int_ptr(ord("L") if lower else ord("U"))
|
|
49
54
|
N = val_to_int_ptr(_N)
|
|
@@ -60,9 +65,7 @@ def cholesky_impl(A, lower=0, overwrite_a=False):
|
|
|
60
65
|
|
|
61
66
|
if int_ptr_to_val(INFO) != 0:
|
|
62
67
|
A_copy = np.full_like(A_copy, np.nan)
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
if lower:
|
|
68
|
+
elif lower:
|
|
66
69
|
for j in range(1, _N):
|
|
67
70
|
for i in range(j):
|
|
68
71
|
A_copy[i, j] = 0.0
|
|
@@ -73,7 +76,6 @@ def cholesky_impl(A, lower=0, overwrite_a=False):
|
|
|
73
76
|
|
|
74
77
|
if transposed:
|
|
75
78
|
return A_copy.T
|
|
76
|
-
|
|
77
|
-
return A_copy
|
|
79
|
+
return A_copy
|
|
78
80
|
|
|
79
81
|
return impl
|
{pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/numba/dispatch/linalg/decomposition/dispatch.py
RENAMED
|
@@ -47,6 +47,7 @@ from pytensor.link.numba.dispatch.linalg.decomposition.svd import (
|
|
|
47
47
|
_svd_gesdd_full,
|
|
48
48
|
_svd_gesdd_no_uv,
|
|
49
49
|
)
|
|
50
|
+
from pytensor.link.numba.dispatch.linalg.utils import _full_fortran_order
|
|
50
51
|
from pytensor.tensor.linalg.decomposition.cholesky import Cholesky
|
|
51
52
|
from pytensor.tensor.linalg.decomposition.eigen import Eig, Eigh, Eigvalsh
|
|
52
53
|
from pytensor.tensor.linalg.decomposition.lu import LU, LUFactor, PivotToPermutations
|
|
@@ -69,7 +70,6 @@ def numba_funcify_SVD(op, node, **kwargs):
|
|
|
69
70
|
# kernel may safely mutate it regardless of the user's overwrite_a setting.
|
|
70
71
|
effective_overwrite_a = op.overwrite_a or discrete_input
|
|
71
72
|
|
|
72
|
-
matrix_dtype = out_dtype
|
|
73
73
|
# SVD declares S with the real component dtype via linalg_real_output_dtype,
|
|
74
74
|
# so the s output's own dtype is the right answer for both real and complex
|
|
75
75
|
# input.
|
|
@@ -91,23 +91,6 @@ def numba_funcify_SVD(op, node, **kwargs):
|
|
|
91
91
|
|
|
92
92
|
@numba_basic.numba_njit
|
|
93
93
|
def svd(x):
|
|
94
|
-
if x.size == 0:
|
|
95
|
-
m, n = x.shape
|
|
96
|
-
k = min(m, n)
|
|
97
|
-
# LAPACK returns matrices in fortran order; build the empty
|
|
98
|
-
# returns with reversed shape + transpose to match.
|
|
99
|
-
if full_matrices:
|
|
100
|
-
return (
|
|
101
|
-
np.zeros((m, m), dtype=matrix_dtype).T,
|
|
102
|
-
np.zeros((k,), dtype=s_dtype),
|
|
103
|
-
np.zeros((n, n), dtype=matrix_dtype).T,
|
|
104
|
-
)
|
|
105
|
-
else:
|
|
106
|
-
return (
|
|
107
|
-
np.zeros((k, m), dtype=matrix_dtype).T,
|
|
108
|
-
np.zeros((k,), dtype=s_dtype),
|
|
109
|
-
np.zeros((n, k), dtype=matrix_dtype).T,
|
|
110
|
-
)
|
|
111
94
|
if discrete_input:
|
|
112
95
|
x = x.astype(out_dtype)
|
|
113
96
|
return _svd_gesdd_full(
|
|
@@ -116,7 +99,7 @@ def numba_funcify_SVD(op, node, **kwargs):
|
|
|
116
99
|
overwrite_a=effective_overwrite_a,
|
|
117
100
|
)
|
|
118
101
|
|
|
119
|
-
cache_version =
|
|
102
|
+
cache_version = 3
|
|
120
103
|
return svd, cache_version
|
|
121
104
|
|
|
122
105
|
|
|
@@ -194,7 +177,7 @@ def numba_funcify_Eigh(op, node, **kwargs):
|
|
|
194
177
|
effective_overwrite_a,
|
|
195
178
|
)
|
|
196
179
|
|
|
197
|
-
cache_version =
|
|
180
|
+
cache_version = 2
|
|
198
181
|
return eigh, cache_version
|
|
199
182
|
|
|
200
183
|
|
|
@@ -267,15 +250,12 @@ def numba_funcify_Cholesky(op, node, **kwargs):
|
|
|
267
250
|
|
|
268
251
|
@numba_basic.numba_njit
|
|
269
252
|
def cholesky(a):
|
|
270
|
-
if a.size == 0:
|
|
271
|
-
return np.zeros(a.shape, dtype=out_dtype)
|
|
272
|
-
|
|
273
253
|
if discrete_inp:
|
|
274
254
|
a = a.astype(out_dtype)
|
|
275
255
|
|
|
276
256
|
return _cholesky(a, lower, effective_overwrite_a)
|
|
277
257
|
|
|
278
|
-
cache_version =
|
|
258
|
+
cache_version = 4
|
|
279
259
|
return cholesky, cache_version
|
|
280
260
|
|
|
281
261
|
|
|
@@ -355,7 +335,7 @@ def numba_funcify_LU(op, node, **kwargs):
|
|
|
355
335
|
|
|
356
336
|
return res
|
|
357
337
|
|
|
358
|
-
cache_version =
|
|
338
|
+
cache_version = 4
|
|
359
339
|
return lu, cache_version
|
|
360
340
|
|
|
361
341
|
|
|
@@ -375,7 +355,7 @@ def numba_funcify_LUFactor(op, node, **kwargs):
|
|
|
375
355
|
def lu_factor(a):
|
|
376
356
|
if a.size == 0:
|
|
377
357
|
return (
|
|
378
|
-
|
|
358
|
+
_full_fortran_order(a.shape, 0, out_dtype),
|
|
379
359
|
np.zeros(a.shape[0], dtype="int32"),
|
|
380
360
|
)
|
|
381
361
|
|
|
@@ -386,7 +366,7 @@ def numba_funcify_LUFactor(op, node, **kwargs):
|
|
|
386
366
|
|
|
387
367
|
return LU, piv
|
|
388
368
|
|
|
389
|
-
cache_version =
|
|
369
|
+
cache_version = 4
|
|
390
370
|
return lu_factor, cache_version
|
|
391
371
|
|
|
392
372
|
|
|
@@ -431,13 +411,13 @@ def numba_funcify_QR(op, node, **kwargs):
|
|
|
431
411
|
R = np.zeros((m, n), dtype=out_dtype)
|
|
432
412
|
return R
|
|
433
413
|
elif mode == "raw" and pivoting:
|
|
434
|
-
H =
|
|
414
|
+
H = _full_fortran_order((m, m), 0, out_dtype)
|
|
435
415
|
tau = np.zeros(k, dtype=out_dtype)
|
|
436
416
|
R = np.zeros((m, n), dtype=out_dtype)
|
|
437
417
|
P = np.zeros(n, dtype=np.int32)
|
|
438
418
|
return H, tau, R, P
|
|
439
419
|
else:
|
|
440
|
-
H =
|
|
420
|
+
H = _full_fortran_order((m, m), 0, out_dtype)
|
|
441
421
|
tau = np.zeros(k, dtype=out_dtype)
|
|
442
422
|
R = np.zeros((m, n), dtype=out_dtype)
|
|
443
423
|
return H, tau, R
|
|
@@ -504,7 +484,7 @@ def numba_funcify_QR(op, node, **kwargs):
|
|
|
504
484
|
f"QR mode={mode}, pivoting={pivoting} not supported in numba mode."
|
|
505
485
|
)
|
|
506
486
|
|
|
507
|
-
cache_version =
|
|
487
|
+
cache_version = 3
|
|
508
488
|
return qr, cache_version
|
|
509
489
|
|
|
510
490
|
|
|
@@ -544,8 +524,8 @@ def numba_funcify_Schur(op, node, **kwargs):
|
|
|
544
524
|
def schur(a):
|
|
545
525
|
if a.size == 0:
|
|
546
526
|
n = a.shape[0]
|
|
547
|
-
return
|
|
548
|
-
(n, n),
|
|
527
|
+
return _full_fortran_order((n, n), 0, out_dtype), _full_fortran_order(
|
|
528
|
+
(n, n), 0, out_dtype
|
|
549
529
|
)
|
|
550
530
|
if integer_input:
|
|
551
531
|
a = a.astype(out_dtype)
|
|
@@ -559,15 +539,15 @@ def numba_funcify_Schur(op, node, **kwargs):
|
|
|
559
539
|
def schur(a):
|
|
560
540
|
if a.size == 0:
|
|
561
541
|
n = a.shape[0]
|
|
562
|
-
return
|
|
563
|
-
(n, n),
|
|
542
|
+
return _full_fortran_order((n, n), 0, out_dtype), _full_fortran_order(
|
|
543
|
+
(n, n), 0, out_dtype
|
|
564
544
|
)
|
|
565
545
|
if integer_input:
|
|
566
546
|
a = a.astype(out_dtype)
|
|
567
547
|
T, Z = schur_real(a, lwork=None, overwrite_a=effective_overwrite_a)
|
|
568
548
|
return T, Z
|
|
569
549
|
|
|
570
|
-
cache_version =
|
|
550
|
+
cache_version = 2
|
|
571
551
|
return schur, cache_version
|
|
572
552
|
|
|
573
553
|
|
|
@@ -634,18 +614,18 @@ def numba_funcify_QZ(op, node, **kwargs):
|
|
|
634
614
|
n = a.shape[0]
|
|
635
615
|
if return_eigenvalues:
|
|
636
616
|
return (
|
|
637
|
-
|
|
638
|
-
|
|
617
|
+
_full_fortran_order((n, n), 0, out_dtype),
|
|
618
|
+
_full_fortran_order((n, n), 0, out_dtype),
|
|
639
619
|
np.zeros((n,), dtype=alpha_dtype),
|
|
640
620
|
np.zeros((n,), dtype=out_dtype),
|
|
641
|
-
|
|
642
|
-
|
|
621
|
+
_full_fortran_order((n, n), 0, out_dtype),
|
|
622
|
+
_full_fortran_order((n, n), 0, out_dtype),
|
|
643
623
|
)
|
|
644
624
|
return (
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
625
|
+
_full_fortran_order((n, n), 0, out_dtype),
|
|
626
|
+
_full_fortran_order((n, n), 0, out_dtype),
|
|
627
|
+
_full_fortran_order((n, n), 0, out_dtype),
|
|
628
|
+
_full_fortran_order((n, n), 0, out_dtype),
|
|
649
629
|
)
|
|
650
630
|
if integer_input_a:
|
|
651
631
|
a = a.astype(out_dtype)
|
|
@@ -664,18 +644,18 @@ def numba_funcify_QZ(op, node, **kwargs):
|
|
|
664
644
|
n = a.shape[0]
|
|
665
645
|
if return_eigenvalues:
|
|
666
646
|
return (
|
|
667
|
-
|
|
668
|
-
|
|
647
|
+
_full_fortran_order((n, n), 0, out_dtype),
|
|
648
|
+
_full_fortran_order((n, n), 0, out_dtype),
|
|
669
649
|
np.zeros((n,), dtype=alpha_dtype),
|
|
670
650
|
np.zeros((n,), dtype=out_dtype),
|
|
671
|
-
|
|
672
|
-
|
|
651
|
+
_full_fortran_order((n, n), 0, out_dtype),
|
|
652
|
+
_full_fortran_order((n, n), 0, out_dtype),
|
|
673
653
|
)
|
|
674
654
|
return (
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
655
|
+
_full_fortran_order((n, n), 0, out_dtype),
|
|
656
|
+
_full_fortran_order((n, n), 0, out_dtype),
|
|
657
|
+
_full_fortran_order((n, n), 0, out_dtype),
|
|
658
|
+
_full_fortran_order((n, n), 0, out_dtype),
|
|
679
659
|
)
|
|
680
660
|
if integer_input_a:
|
|
681
661
|
a = a.astype(out_dtype)
|
|
@@ -687,5 +667,5 @@ def numba_funcify_QZ(op, node, **kwargs):
|
|
|
687
667
|
b = b.astype(out_dtype)
|
|
688
668
|
return qz_fn(a, b, effective_overwrite_a, effective_overwrite_b)
|
|
689
669
|
|
|
690
|
-
cache_version =
|
|
670
|
+
cache_version = 2
|
|
691
671
|
return qz, cache_version
|
{pytensor-3.3.7 → pytensor-3.3.8}/pytensor/link/numba/dispatch/linalg/decomposition/eigen.py
RENAMED
|
@@ -10,7 +10,10 @@ from pytensor.link.numba.dispatch.linalg._LAPACK import (
|
|
|
10
10
|
int_ptr_to_val,
|
|
11
11
|
val_to_int_ptr,
|
|
12
12
|
)
|
|
13
|
-
from pytensor.link.numba.dispatch.linalg.utils import
|
|
13
|
+
from pytensor.link.numba.dispatch.linalg.utils import (
|
|
14
|
+
_check_linalg_matrix,
|
|
15
|
+
_fortran_work_array,
|
|
16
|
+
)
|
|
14
17
|
|
|
15
18
|
|
|
16
19
|
def _eigh(a, UPLO, overwrite_a=False):
|
|
@@ -47,10 +50,7 @@ def eigh_impl(A, UPLO, overwrite_a=False):
|
|
|
47
50
|
# syevr/heevr scratch the input triangle of A (Householder reflectors) and read them back during the
|
|
48
51
|
# back-transform, so A and Z must remain distinct buffers. When A is donated and f-contig we reuse it as the
|
|
49
52
|
# LAPACK input/scratch buffer and still allocate Z separately.
|
|
50
|
-
|
|
51
|
-
A_copy = A
|
|
52
|
-
else:
|
|
53
|
-
A_copy = _copy_to_fortran_order(A)
|
|
53
|
+
A_copy = _fortran_work_array(A, overwrite_a)
|
|
54
54
|
|
|
55
55
|
JOBZ = val_to_int_ptr(ord("V"))
|
|
56
56
|
RANGE = val_to_int_ptr(ord("A"))
|
|
@@ -290,10 +290,7 @@ def eigh_evd_impl(A, UPLO, overwrite_a=False):
|
|
|
290
290
|
if A.shape[-2] != _N:
|
|
291
291
|
raise np.linalg.LinAlgError("Last 2 dimensions of A must be square")
|
|
292
292
|
|
|
293
|
-
|
|
294
|
-
A_copy = A
|
|
295
|
-
else:
|
|
296
|
-
A_copy = _copy_to_fortran_order(A)
|
|
293
|
+
A_copy = _fortran_work_array(A, overwrite_a)
|
|
297
294
|
|
|
298
295
|
JOBZ = val_to_int_ptr(ord("V"))
|
|
299
296
|
UPLO_ptr = val_to_int_ptr(ord("L") if UPLO == 0 else ord("U"))
|
|
@@ -492,15 +489,9 @@ def eigh_generalized_impl(A, B, UPLO, overwrite_a=False, overwrite_b=False):
|
|
|
492
489
|
# apply here: returning eigenvectors of A^T (== conj(V) for Hermitian) would require a conjugate-on-return
|
|
493
490
|
# that defeats the alloc savings. B has no such issue since its post-call content is discarded scratch
|
|
494
491
|
# (Cholesky factor).
|
|
495
|
-
|
|
496
|
-
A_copy = A
|
|
497
|
-
else:
|
|
498
|
-
A_copy = _copy_to_fortran_order(A)
|
|
492
|
+
A_copy = _fortran_work_array(A, overwrite_a)
|
|
499
493
|
|
|
500
|
-
|
|
501
|
-
B_copy = B
|
|
502
|
-
else:
|
|
503
|
-
B_copy = _copy_to_fortran_order(B)
|
|
494
|
+
B_copy = _fortran_work_array(B, overwrite_b)
|
|
504
495
|
|
|
505
496
|
ITYPE = val_to_int_ptr(np.int32(1))
|
|
506
497
|
JOBZ = val_to_int_ptr(ord("V"))
|