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.
Files changed (639) hide show
  1. {pytensor-3.3.4/pytensor.egg-info → pytensor-3.3.6}/PKG-INFO +1 -1
  2. {pytensor-3.3.4 → pytensor-3.3.6}/doc/extending/other_ops.rst +1 -1
  3. {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/config.rst +142 -65
  4. {pytensor-3.3.4 → pytensor-3.3.6}/doc/troubleshooting.rst +1 -1
  5. {pytensor-3.3.4 → pytensor-3.3.6}/doc/tutorial/conditions.rst +1 -1
  6. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/__init__.py +3 -1
  7. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/_version.py +3 -3
  8. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/assumptions/core.py +50 -1
  9. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/assumptions/diagonal.py +5 -8
  10. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/assumptions/dimshuffle.py +22 -1
  11. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/assumptions/positive_definite.py +15 -31
  12. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/assumptions/specify.py +1 -1
  13. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/assumptions/symmetric.py +10 -0
  14. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/bin/pytensor_cache.py +14 -19
  15. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/compile/builders.py +40 -9
  16. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/compile/compiledir.py +15 -3
  17. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/compile/debug/debugmode.py +3 -2
  18. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/compile/executor.py +2 -2
  19. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/compile/inner_function.py +0 -10
  20. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/compile/rewriting.py +4 -7
  21. pytensor-3.3.6/pytensor/conditional/__init__.py +7 -0
  22. pytensor-3.3.4/pytensor/ifelse.py → pytensor-3.3.6/pytensor/conditional/op.py +51 -400
  23. pytensor-3.3.6/pytensor/conditional/rewriting.py +651 -0
  24. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/graph/op.py +18 -15
  25. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/graph/traversal.py +10 -3
  26. pytensor-3.3.6/pytensor/ifelse.py +37 -0
  27. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/jax/dispatch/basic.py +13 -1
  28. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/mlx/dispatch/basic.py +1 -1
  29. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/mlx/dispatch/blas.py +1 -22
  30. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/mlx/dispatch/linalg/decomposition.py +1 -1
  31. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/mlx/dispatch/random.py +23 -23
  32. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/mlx/dispatch/scalar/basic.py +2 -2
  33. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/mlx/dispatch/scalar/bessel.py +42 -59
  34. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/mlx/dispatch/scalar/beta.py +16 -9
  35. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/mlx/dispatch/scalar/erf.py +53 -63
  36. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/mlx/dispatch/scalar/erfcinv.py +4 -2
  37. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/mlx/dispatch/scalar/gamma.py +4 -2
  38. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/mlx/dispatch/scalar/gammainc.py +14 -11
  39. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/mlx/dispatch/scalar/helpers.py +86 -8
  40. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/mlx/dispatch/scalar/math.py +101 -9
  41. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/mlx/dispatch/signal/conv.py +1 -1
  42. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/mlx/dispatch/subtensor.py +2 -6
  43. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/mlx/dispatch/tensor_basic.py +1 -1
  44. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/compile_ops.py +23 -1
  45. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/elemwise.py +191 -72
  46. pytensor-3.3.6/pytensor/link/numba/dispatch/linalg/_BLAS.py +195 -0
  47. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/linalg/_LAPACK.py +10 -0
  48. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/linalg/decomposition/cholesky.py +5 -2
  49. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/linalg/decomposition/dispatch.py +1 -1
  50. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/linalg/products.py +342 -1
  51. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/random.py +3 -2
  52. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/scalar.py +73 -19
  53. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/sparse/basic.py +51 -0
  54. pytensor-3.3.6/pytensor/link/numba/dispatch/sparse/math.py +1367 -0
  55. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/sparse/variable.py +57 -4
  56. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/subtensor.py +254 -110
  57. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/tensor_basic.py +51 -4
  58. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/vectorize_codegen.py +27 -2
  59. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/pytorch/dispatch/basic.py +1 -1
  60. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/pytorch/dispatch/math.py +4 -2
  61. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/misc/check_blas.py +0 -1
  62. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/printing.py +565 -386
  63. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/scalar/basic.py +0 -12
  64. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/scalar/loop.py +0 -4
  65. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/scalar/math.py +127 -179
  66. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/sparse/basic.py +8 -6
  67. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/sparse/math.py +42 -42
  68. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/sparse/rewriting.py +10 -10
  69. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/basic.py +2 -2
  70. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/blas/__init__.py +0 -17
  71. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/blas/blas_c.py +1 -25
  72. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/blas/c_code/codegen.py +0 -290
  73. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/blockwise.py +2 -2
  74. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/elemwise.py +32 -2
  75. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/linalg/inverse.py +7 -15
  76. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/linalg/products.py +11 -0
  77. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/linalg/solvers/general.py +3 -0
  78. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/linalg/solvers/linear_control.py +6 -6
  79. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/linalg/solvers/psd.py +1 -0
  80. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/math.py +14 -22
  81. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/optimize.py +112 -53
  82. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/random/op.py +2 -6
  83. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/rewriting/__init__.py +2 -0
  84. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/rewriting/blas.py +6 -56
  85. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/rewriting/blas_c.py +4 -28
  86. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/rewriting/elemwise.py +7 -1
  87. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/rewriting/fused_elemwise.py +82 -12
  88. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/rewriting/linalg/__init__.py +1 -0
  89. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/rewriting/linalg/decomposition.py +252 -38
  90. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/rewriting/linalg/inverse.py +2 -2
  91. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/rewriting/linalg/products.py +21 -22
  92. pytensor-3.3.6/pytensor/tensor/rewriting/linalg/reassociate_matmul.py +685 -0
  93. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/rewriting/linalg/solvers.py +24 -3
  94. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/rewriting/math.py +2 -19
  95. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/rewriting/optimize.py +5 -4
  96. pytensor-3.3.6/pytensor/tensor/rewriting/scalarize.py +263 -0
  97. pytensor-3.3.6/pytensor/tensor/rewriting/sort.py +70 -0
  98. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/rewriting/subtensor.py +8 -0
  99. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/shape.py +9 -7
  100. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/typed_list/basic.py +6 -0
  101. {pytensor-3.3.4 → pytensor-3.3.6/pytensor.egg-info}/PKG-INFO +1 -1
  102. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor.egg-info/SOURCES.txt +6 -2
  103. {pytensor-3.3.4 → pytensor-3.3.6}/scripts/mypy-failing.txt +0 -1
  104. {pytensor-3.3.4 → pytensor-3.3.6}/tests/test_printing.py +290 -3
  105. pytensor-3.3.4/pytensor/link/numba/dispatch/linalg/_BLAS.py +0 -74
  106. pytensor-3.3.4/pytensor/link/numba/dispatch/sparse/math.py +0 -651
  107. pytensor-3.3.4/pytensor/tensor/blas/ger.py +0 -76
  108. pytensor-3.3.4/tests/test_ifelse.py +0 -709
  109. {pytensor-3.3.4 → pytensor-3.3.6}/LICENSE.txt +0 -0
  110. {pytensor-3.3.4 → pytensor-3.3.6}/MANIFEST.in +0 -0
  111. {pytensor-3.3.4 → pytensor-3.3.6}/README.rst +0 -0
  112. {pytensor-3.3.4 → pytensor-3.3.6}/doc/.templates/PLACEHOLDER +0 -0
  113. {pytensor-3.3.4 → pytensor-3.3.6}/doc/.templates/layout.html +0 -0
  114. {pytensor-3.3.4 → pytensor-3.3.6}/doc/.templates/nb-badges.html +0 -0
  115. {pytensor-3.3.4 → pytensor-3.3.6}/doc/.templates/rendered_citation.html +0 -0
  116. {pytensor-3.3.4 → pytensor-3.3.6}/doc/LICENSE.txt +0 -0
  117. {pytensor-3.3.4 → pytensor-3.3.6}/doc/README.md +0 -0
  118. {pytensor-3.3.4 → pytensor-3.3.6}/doc/_drafts/benchmark_mlx_v_jax_corrected.ipynb +0 -0
  119. {pytensor-3.3.4 → pytensor-3.3.6}/doc/_thumbnails/autodiff/vector_jacobian_product.png +0 -0
  120. {pytensor-3.3.4 → pytensor-3.3.6}/doc/_thumbnails/rewrites/assumptions.png +0 -0
  121. {pytensor-3.3.4 → pytensor-3.3.6}/doc/acknowledgement.rst +0 -0
  122. {pytensor-3.3.4 → pytensor-3.3.6}/doc/bcast.png +0 -0
  123. {pytensor-3.3.4 → pytensor-3.3.6}/doc/bcast.svg +0 -0
  124. {pytensor-3.3.4 → pytensor-3.3.6}/doc/blog.md +0 -0
  125. {pytensor-3.3.4 → pytensor-3.3.6}/doc/conf.py +0 -0
  126. {pytensor-3.3.4 → pytensor-3.3.6}/doc/core_development_guide.rst +0 -0
  127. {pytensor-3.3.4 → pytensor-3.3.6}/doc/css.inc +0 -0
  128. {pytensor-3.3.4 → pytensor-3.3.6}/doc/dev_start_guide.rst +0 -0
  129. {pytensor-3.3.4 → pytensor-3.3.6}/doc/environment.yml +0 -0
  130. {pytensor-3.3.4 → pytensor-3.3.6}/doc/extending/apply.png +0 -0
  131. {pytensor-3.3.4 → pytensor-3.3.6}/doc/extending/apply.svg +0 -0
  132. {pytensor-3.3.4 → pytensor-3.3.6}/doc/extending/apply2.svg +0 -0
  133. {pytensor-3.3.4 → pytensor-3.3.6}/doc/extending/creating_a_c_op.rst +0 -0
  134. {pytensor-3.3.4 → pytensor-3.3.6}/doc/extending/creating_a_numba_jax_op.rst +0 -0
  135. {pytensor-3.3.4 → pytensor-3.3.6}/doc/extending/creating_an_op.rst +0 -0
  136. {pytensor-3.3.4 → pytensor-3.3.6}/doc/extending/ctype.rst +0 -0
  137. {pytensor-3.3.4 → pytensor-3.3.6}/doc/extending/extending_faq.rst +0 -0
  138. {pytensor-3.3.4 → pytensor-3.3.6}/doc/extending/extending_pytensor_solution_1.py +0 -0
  139. {pytensor-3.3.4 → pytensor-3.3.6}/doc/extending/graph_rewriting.rst +0 -0
  140. {pytensor-3.3.4 → pytensor-3.3.6}/doc/extending/graphstructures.rst +0 -0
  141. {pytensor-3.3.4 → pytensor-3.3.6}/doc/extending/index.rst +0 -0
  142. {pytensor-3.3.4 → pytensor-3.3.6}/doc/extending/inplace.rst +0 -0
  143. {pytensor-3.3.4 → pytensor-3.3.6}/doc/extending/op.rst +0 -0
  144. {pytensor-3.3.4 → pytensor-3.3.6}/doc/extending/pics/symbolic_graph_opt.png +0 -0
  145. {pytensor-3.3.4 → pytensor-3.3.6}/doc/extending/pics/symbolic_graph_unopt.png +0 -0
  146. {pytensor-3.3.4 → pytensor-3.3.6}/doc/extending/pipeline.rst +0 -0
  147. {pytensor-3.3.4 → pytensor-3.3.6}/doc/extending/scan.rst +0 -0
  148. {pytensor-3.3.4 → pytensor-3.3.6}/doc/extending/tips.rst +0 -0
  149. {pytensor-3.3.4 → pytensor-3.3.6}/doc/extending/type.rst +0 -0
  150. {pytensor-3.3.4 → pytensor-3.3.6}/doc/extending/unification_kanren.rst +0 -0
  151. {pytensor-3.3.4 → pytensor-3.3.6}/doc/extending/unittest.rst +0 -0
  152. {pytensor-3.3.4 → pytensor-3.3.6}/doc/extending/using_params.rst +0 -0
  153. {pytensor-3.3.4 → pytensor-3.3.6}/doc/faq.rst +0 -0
  154. {pytensor-3.3.4 → pytensor-3.3.6}/doc/gallery/applications/normalizing_flows_in_pytensor.ipynb +0 -0
  155. {pytensor-3.3.4 → pytensor-3.3.6}/doc/gallery/applications/tiny_transformer_llm.ipynb +0 -0
  156. {pytensor-3.3.4 → pytensor-3.3.6}/doc/gallery/autodiff/vector_jacobian_product.ipynb +0 -0
  157. {pytensor-3.3.4 → pytensor-3.3.6}/doc/gallery/introduction/pytensor_intro.ipynb +0 -0
  158. {pytensor-3.3.4 → pytensor-3.3.6}/doc/gallery/optimize/root.ipynb +0 -0
  159. {pytensor-3.3.4 → pytensor-3.3.6}/doc/gallery/page_footer.md +0 -0
  160. {pytensor-3.3.4 → pytensor-3.3.6}/doc/gallery/rewrites/assumptions.ipynb +0 -0
  161. {pytensor-3.3.4 → pytensor-3.3.6}/doc/gallery/rewrites/graph_rewrites.ipynb +0 -0
  162. {pytensor-3.3.4 → pytensor-3.3.6}/doc/gallery/scan/scan_tutorial.ipynb +0 -0
  163. {pytensor-3.3.4 → pytensor-3.3.6}/doc/generate_dtype_tensor_table.py +0 -0
  164. {pytensor-3.3.4 → pytensor-3.3.6}/doc/glossary.rst +0 -0
  165. {pytensor-3.3.4 → pytensor-3.3.6}/doc/images/Elman_srnn.png +0 -0
  166. {pytensor-3.3.4 → pytensor-3.3.6}/doc/images/PyTensor.png +0 -0
  167. {pytensor-3.3.4 → pytensor-3.3.6}/doc/images/PyTensor_RGB.svg +0 -0
  168. {pytensor-3.3.4 → pytensor-3.3.6}/doc/images/PyTensor_logo.png +0 -0
  169. {pytensor-3.3.4 → pytensor-3.3.6}/doc/images/binder.svg +0 -0
  170. {pytensor-3.3.4 → pytensor-3.3.6}/doc/images/blocksparse.png +0 -0
  171. {pytensor-3.3.4 → pytensor-3.3.6}/doc/images/colab.svg +0 -0
  172. {pytensor-3.3.4 → pytensor-3.3.6}/doc/images/github.svg +0 -0
  173. {pytensor-3.3.4 → pytensor-3.3.6}/doc/images/lstm.png +0 -0
  174. {pytensor-3.3.4 → pytensor-3.3.6}/doc/images/lstm_memorycell.png +0 -0
  175. {pytensor-3.3.4 → pytensor-3.3.6}/doc/images/talk2010.gif +0 -0
  176. {pytensor-3.3.4 → pytensor-3.3.6}/doc/images/talk2010.png +0 -0
  177. {pytensor-3.3.4 → pytensor-3.3.6}/doc/index.rst +0 -0
  178. {pytensor-3.3.4 → pytensor-3.3.6}/doc/install.rst +0 -0
  179. {pytensor-3.3.4 → pytensor-3.3.6}/doc/internal/how_to_release.rst +0 -0
  180. {pytensor-3.3.4 → pytensor-3.3.6}/doc/internal/index.rst +0 -0
  181. {pytensor-3.3.4 → pytensor-3.3.6}/doc/internal/metadocumentation.rst +0 -0
  182. {pytensor-3.3.4 → pytensor-3.3.6}/doc/introduction.rst +0 -0
  183. {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/assumptions.rst +0 -0
  184. {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/compile/debugmode.rst +0 -0
  185. {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/compile/function.rst +0 -0
  186. {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/compile/index.rst +0 -0
  187. {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/compile/io.rst +0 -0
  188. {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/compile/mode.rst +0 -0
  189. {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/compile/nanguardmode.rst +0 -0
  190. {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/compile/opfromgraph.rst +0 -0
  191. {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/compile/ops.rst +0 -0
  192. {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/compile/profilemode.rst +0 -0
  193. {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/compile/shared.rst +0 -0
  194. {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/d3viz/examples/d3viz/css/d3-context-menu.css +0 -0
  195. {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/d3viz/examples/d3viz/css/d3viz.css +0 -0
  196. {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/d3viz/examples/d3viz/js/d3-context-menu.js +0 -0
  197. {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/d3viz/examples/d3viz/js/d3.v3.min.js +0 -0
  198. {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/d3viz/examples/d3viz/js/d3viz.js +0 -0
  199. {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/d3viz/examples/d3viz/js/dagre-d3.min.js +0 -0
  200. {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/d3viz/examples/d3viz/js/graphlib-dot.min.js +0 -0
  201. {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/d3viz/examples/mlp.html +0 -0
  202. {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/d3viz/examples/mlp.png +0 -0
  203. {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/d3viz/examples/mlp2.html +0 -0
  204. {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/d3viz/examples/mlp2.pdf +0 -0
  205. {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/d3viz/examples/mlp2.png +0 -0
  206. {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/d3viz/examples/ofg.html +0 -0
  207. {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/d3viz/examples/ofg2.html +0 -0
  208. {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/d3viz/index.ipynb +0 -0
  209. {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/d3viz/index.rst +0 -0
  210. {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/d3viz/index_files/index_10_0.png +0 -0
  211. {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/d3viz/index_files/index_11_0.png +0 -0
  212. {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/d3viz/index_files/index_24_0.png +0 -0
  213. {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/d3viz/index_files/index_25_0.png +0 -0
  214. {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/graph/features.rst +0 -0
  215. {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/graph/fgraph.rst +0 -0
  216. {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/graph/graph.rst +0 -0
  217. {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/graph/index.rst +0 -0
  218. {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/graph/op.rst +0 -0
  219. {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/graph/replace.rst +0 -0
  220. {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/graph/traversal.rst +0 -0
  221. {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/graph/type.rst +0 -0
  222. {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/graph/utils.rst +0 -0
  223. {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/index.rst +0 -0
  224. {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/misc/pkl_utils.rst +0 -0
  225. {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/printing.rst +0 -0
  226. {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/scalar/index.rst +0 -0
  227. {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/scan.rst +0 -0
  228. {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/sparse/index.rst +0 -0
  229. {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/sparse/sandbox.rst +0 -0
  230. {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/tensor/basic.rst +0 -0
  231. {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/tensor/basic_opt.rst +0 -0
  232. {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/tensor/bcast.png +0 -0
  233. {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/tensor/bcast.svg +0 -0
  234. {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/tensor/elemwise.rst +0 -0
  235. {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/tensor/extra_ops.rst +0 -0
  236. {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/tensor/fft.rst +0 -0
  237. {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/tensor/functional.rst +0 -0
  238. {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/tensor/index.rst +0 -0
  239. {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/tensor/io.rst +0 -0
  240. {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/tensor/linalg.rst +0 -0
  241. {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/tensor/math_opt.rst +0 -0
  242. {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/tensor/nlinalg.rst +0 -0
  243. {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/tensor/optimize.rst +0 -0
  244. {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/tensor/plot_fft.png +0 -0
  245. {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/tensor/random.rst +0 -0
  246. {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/tensor/slinalg.rst +0 -0
  247. {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/tensor/utils.rst +0 -0
  248. {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/typed_list.rst +0 -0
  249. {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/xtensor/index.md +0 -0
  250. {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/xtensor/linalg.md +0 -0
  251. {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/xtensor/math.md +0 -0
  252. {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/xtensor/module_functions.md +0 -0
  253. {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/xtensor/random.md +0 -0
  254. {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/xtensor/signal.md +0 -0
  255. {pytensor-3.3.4 → pytensor-3.3.6}/doc/library/xtensor/type.md +0 -0
  256. {pytensor-3.3.4 → pytensor-3.3.6}/doc/links.rst +0 -0
  257. {pytensor-3.3.4 → pytensor-3.3.6}/doc/optimizations.rst +0 -0
  258. {pytensor-3.3.4 → pytensor-3.3.6}/doc/pylintrc +0 -0
  259. {pytensor-3.3.4 → pytensor-3.3.6}/doc/robots.txt +0 -0
  260. {pytensor-3.3.4 → pytensor-3.3.6}/doc/tutorial/adding.rst +0 -0
  261. {pytensor-3.3.4 → pytensor-3.3.6}/doc/tutorial/adding_solution_1.py +0 -0
  262. {pytensor-3.3.4 → pytensor-3.3.6}/doc/tutorial/aliasing.rst +0 -0
  263. {pytensor-3.3.4 → pytensor-3.3.6}/doc/tutorial/apply.png +0 -0
  264. {pytensor-3.3.4 → pytensor-3.3.6}/doc/tutorial/apply.svg +0 -0
  265. {pytensor-3.3.4 → pytensor-3.3.6}/doc/tutorial/bcast.png +0 -0
  266. {pytensor-3.3.4 → pytensor-3.3.6}/doc/tutorial/broadcasting.rst +0 -0
  267. {pytensor-3.3.4 → pytensor-3.3.6}/doc/tutorial/debug_faq.rst +0 -0
  268. {pytensor-3.3.4 → pytensor-3.3.6}/doc/tutorial/dlogistic.png +0 -0
  269. {pytensor-3.3.4 → pytensor-3.3.6}/doc/tutorial/examples.rst +0 -0
  270. {pytensor-3.3.4 → pytensor-3.3.6}/doc/tutorial/faq_tutorial.rst +0 -0
  271. {pytensor-3.3.4 → pytensor-3.3.6}/doc/tutorial/gradients.rst +0 -0
  272. {pytensor-3.3.4 → pytensor-3.3.6}/doc/tutorial/index.rst +0 -0
  273. {pytensor-3.3.4 → pytensor-3.3.6}/doc/tutorial/loading_and_saving.rst +0 -0
  274. {pytensor-3.3.4 → pytensor-3.3.6}/doc/tutorial/logistic.gp +0 -0
  275. {pytensor-3.3.4 → pytensor-3.3.6}/doc/tutorial/logistic.png +0 -0
  276. {pytensor-3.3.4 → pytensor-3.3.6}/doc/tutorial/loop.rst +0 -0
  277. {pytensor-3.3.4 → pytensor-3.3.6}/doc/tutorial/loop_solution_1.py +0 -0
  278. {pytensor-3.3.4 → pytensor-3.3.6}/doc/tutorial/modes.rst +0 -0
  279. {pytensor-3.3.4 → pytensor-3.3.6}/doc/tutorial/modes_solution_1.py +0 -0
  280. {pytensor-3.3.4 → pytensor-3.3.6}/doc/tutorial/multi_cores.rst +0 -0
  281. {pytensor-3.3.4 → pytensor-3.3.6}/doc/tutorial/nan_tutorial.rst +0 -0
  282. {pytensor-3.3.4 → pytensor-3.3.6}/doc/tutorial/pics/d3viz.png +0 -0
  283. {pytensor-3.3.4 → pytensor-3.3.6}/doc/tutorial/pics/logreg_pydotprint_predict.png +0 -0
  284. {pytensor-3.3.4 → pytensor-3.3.6}/doc/tutorial/pics/logreg_pydotprint_prediction.png +0 -0
  285. {pytensor-3.3.4 → pytensor-3.3.6}/doc/tutorial/pics/logreg_pydotprint_train.png +0 -0
  286. {pytensor-3.3.4 → pytensor-3.3.6}/doc/tutorial/printing_drawing.rst +0 -0
  287. {pytensor-3.3.4 → pytensor-3.3.6}/doc/tutorial/prng.rst +0 -0
  288. {pytensor-3.3.4 → pytensor-3.3.6}/doc/tutorial/profiling.rst +0 -0
  289. {pytensor-3.3.4 → pytensor-3.3.6}/doc/tutorial/profiling_example.py +0 -0
  290. {pytensor-3.3.4 → pytensor-3.3.6}/doc/tutorial/profiling_example_out.prof +0 -0
  291. {pytensor-3.3.4 → pytensor-3.3.6}/doc/tutorial/shape_info.rst +0 -0
  292. {pytensor-3.3.4 → pytensor-3.3.6}/doc/tutorial/sparse.rst +0 -0
  293. {pytensor-3.3.4 → pytensor-3.3.6}/doc/tutorial/symbolic_graphs.rst +0 -0
  294. {pytensor-3.3.4 → pytensor-3.3.6}/doc/user_guide.rst +0 -0
  295. {pytensor-3.3.4 → pytensor-3.3.6}/pyproject.toml +0 -0
  296. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/_sparse_lazy.py +0 -0
  297. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/assumptions/__init__.py +0 -0
  298. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/assumptions/alloc.py +0 -0
  299. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/assumptions/blockwise.py +0 -0
  300. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/assumptions/bundles.py +0 -0
  301. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/assumptions/dot.py +0 -0
  302. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/assumptions/elemwise.py +0 -0
  303. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/assumptions/orthogonal.py +0 -0
  304. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/assumptions/permutation.py +0 -0
  305. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/assumptions/reshape.py +0 -0
  306. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/assumptions/selection.py +0 -0
  307. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/assumptions/shape.py +0 -0
  308. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/assumptions/subtensor.py +0 -0
  309. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/assumptions/triangular.py +0 -0
  310. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/assumptions/tridiagonal.py +0 -0
  311. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/assumptions/unit_magnitude.py +0 -0
  312. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/basic.py +0 -0
  313. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/bin/__init__.py +0 -0
  314. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/breakpoint.py +0 -0
  315. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/compile/__init__.py +0 -0
  316. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/compile/aliasing.py +0 -0
  317. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/compile/compilelock.py +0 -0
  318. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/compile/debug/__init__.py +0 -0
  319. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/compile/debug/dump.py +0 -0
  320. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/compile/debug/monitormode.py +0 -0
  321. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/compile/debug/nanguardmode.py +0 -0
  322. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/compile/debug/profiling.py +0 -0
  323. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/compile/io.py +0 -0
  324. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/compile/maker.py +0 -0
  325. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/compile/mode.py +0 -0
  326. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/compile/ops.py +0 -0
  327. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/compile/rebuild.py +0 -0
  328. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/compile/sharedvalue.py +0 -0
  329. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/configdefaults.py +0 -0
  330. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/configparser.py +0 -0
  331. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/d3viz/__init__.py +0 -0
  332. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/d3viz/css/d3-context-menu.css +0 -0
  333. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/d3viz/css/d3viz.css +0 -0
  334. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/d3viz/d3viz.py +0 -0
  335. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/d3viz/formatting.py +0 -0
  336. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/d3viz/html/template.html +0 -0
  337. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/d3viz/js/d3-context-menu.js +0 -0
  338. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/d3viz/js/d3.v3.min.js +0 -0
  339. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/d3viz/js/d3viz.js +0 -0
  340. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/d3viz/js/dagre-d3.min.js +0 -0
  341. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/d3viz/js/graphlib-dot.min.js +0 -0
  342. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/gradient.py +0 -0
  343. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/graph/__init__.py +0 -0
  344. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/graph/basic.py +0 -0
  345. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/graph/destroyhandler.py +0 -0
  346. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/graph/features.py +0 -0
  347. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/graph/fg.py +0 -0
  348. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/graph/null_type.py +0 -0
  349. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/graph/replace.py +0 -0
  350. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/graph/rewriting/__init__.py +0 -0
  351. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/graph/rewriting/basic.py +0 -0
  352. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/graph/rewriting/db.py +0 -0
  353. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/graph/rewriting/kanren.py +0 -0
  354. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/graph/rewriting/reachability.py +0 -0
  355. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/graph/rewriting/unify.py +0 -0
  356. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/graph/rewriting/utils.py +0 -0
  357. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/graph/type.py +0 -0
  358. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/graph/utils.py +0 -0
  359. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/ipython.py +0 -0
  360. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/__init__.py +0 -0
  361. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/basic.py +0 -0
  362. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/c/__init__.py +0 -0
  363. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/c/basic.py +0 -0
  364. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/c/c_code/lazylinker_c.c +0 -0
  365. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/c/c_code/pytensor_mod_helper.h +0 -0
  366. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/c/cmodule.py +0 -0
  367. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/c/cutils.py +0 -0
  368. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/c/cvm.py +0 -0
  369. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/c/exceptions.py +0 -0
  370. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/c/interface.py +0 -0
  371. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/c/lazylinker_c.py +0 -0
  372. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/c/op.py +0 -0
  373. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/c/params_type.py +0 -0
  374. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/c/type.py +0 -0
  375. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/jax/__init__.py +0 -0
  376. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/jax/dispatch/__init__.py +0 -0
  377. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/jax/dispatch/blas.py +0 -0
  378. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/jax/dispatch/blockwise.py +0 -0
  379. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/jax/dispatch/einsum.py +0 -0
  380. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/jax/dispatch/elemwise.py +0 -0
  381. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/jax/dispatch/extra_ops.py +0 -0
  382. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/jax/dispatch/linalg/__init__.py +0 -0
  383. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/jax/dispatch/linalg/constructors.py +0 -0
  384. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/jax/dispatch/linalg/decomposition.py +0 -0
  385. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/jax/dispatch/linalg/inverse.py +0 -0
  386. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/jax/dispatch/linalg/products.py +0 -0
  387. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/jax/dispatch/linalg/solvers.py +0 -0
  388. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/jax/dispatch/linalg/summary.py +0 -0
  389. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/jax/dispatch/math.py +0 -0
  390. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/jax/dispatch/pad.py +0 -0
  391. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/jax/dispatch/random.py +0 -0
  392. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/jax/dispatch/scalar.py +0 -0
  393. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/jax/dispatch/scan.py +0 -0
  394. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/jax/dispatch/shape.py +0 -0
  395. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/jax/dispatch/signal/__init__.py +0 -0
  396. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/jax/dispatch/signal/conv.py +0 -0
  397. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/jax/dispatch/sort.py +0 -0
  398. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/jax/dispatch/sparse.py +0 -0
  399. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/jax/dispatch/subtensor.py +0 -0
  400. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/jax/dispatch/tensor_basic.py +0 -0
  401. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/jax/linker.py +0 -0
  402. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/jax/ops.py +0 -0
  403. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/mlx/__init__.py +0 -0
  404. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/mlx/dispatch/__init__.py +0 -0
  405. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/mlx/dispatch/blockwise.py +0 -0
  406. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/mlx/dispatch/einsum.py +0 -0
  407. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/mlx/dispatch/elemwise.py +0 -0
  408. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/mlx/dispatch/extra_ops.py +0 -0
  409. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/mlx/dispatch/linalg/__init__.py +0 -0
  410. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/mlx/dispatch/linalg/inverse.py +0 -0
  411. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/mlx/dispatch/linalg/products.py +0 -0
  412. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/mlx/dispatch/linalg/solvers.py +0 -0
  413. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/mlx/dispatch/linalg/summary.py +0 -0
  414. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/mlx/dispatch/math.py +0 -0
  415. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/mlx/dispatch/pad.py +0 -0
  416. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/mlx/dispatch/scalar/__init__.py +0 -0
  417. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/mlx/dispatch/shape.py +0 -0
  418. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/mlx/dispatch/signal/__init__.py +0 -0
  419. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/mlx/dispatch/sort.py +0 -0
  420. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/mlx/linker.py +0 -0
  421. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/__init__.py +0 -0
  422. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/cache.py +0 -0
  423. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/__init__.py +0 -0
  424. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/_llvmlite_self_ref.py +0 -0
  425. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/_patch_list_to_tuple.py +0 -0
  426. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/_patch_pointer_add.py +0 -0
  427. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/basic.py +0 -0
  428. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/blockwise.py +0 -0
  429. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/cython_support.py +0 -0
  430. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/extra_ops.py +0 -0
  431. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/linalg/__init__.py +0 -0
  432. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/linalg/constructors.py +0 -0
  433. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/linalg/decomposition/__init__.py +0 -0
  434. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/linalg/decomposition/eigen.py +0 -0
  435. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/linalg/decomposition/lu.py +0 -0
  436. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/linalg/decomposition/lu_factor.py +0 -0
  437. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/linalg/decomposition/qr.py +0 -0
  438. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/linalg/decomposition/qz.py +0 -0
  439. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/linalg/decomposition/schur.py +0 -0
  440. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/linalg/decomposition/svd.py +0 -0
  441. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/linalg/inverse.py +0 -0
  442. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/linalg/solvers/__init__.py +0 -0
  443. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/linalg/solvers/cholesky.py +0 -0
  444. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/linalg/solvers/dispatch.py +0 -0
  445. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/linalg/solvers/general.py +0 -0
  446. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/linalg/solvers/hermitian.py +0 -0
  447. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/linalg/solvers/linear_control.py +0 -0
  448. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/linalg/solvers/lu_solve.py +0 -0
  449. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/linalg/solvers/posdef.py +0 -0
  450. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/linalg/solvers/symmetric.py +0 -0
  451. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/linalg/solvers/triangular.py +0 -0
  452. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/linalg/solvers/tridiagonal.py +0 -0
  453. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/linalg/solvers/utils.py +0 -0
  454. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/linalg/summary.py +0 -0
  455. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/linalg/utils.py +0 -0
  456. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/scan.py +0 -0
  457. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/shape.py +0 -0
  458. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/signal/__init__.py +0 -0
  459. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/signal/conv.py +0 -0
  460. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/sort.py +0 -0
  461. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/sparse/__init__.py +0 -0
  462. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/string_codegen.py +0 -0
  463. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/dispatch/typed_list.py +0 -0
  464. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/numba/linker.py +0 -0
  465. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/pytorch/dispatch/__init__.py +0 -0
  466. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/pytorch/dispatch/blas.py +0 -0
  467. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/pytorch/dispatch/blockwise.py +0 -0
  468. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/pytorch/dispatch/elemwise.py +0 -0
  469. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/pytorch/dispatch/extra_ops.py +0 -0
  470. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/pytorch/dispatch/linalg/__init__.py +0 -0
  471. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/pytorch/dispatch/linalg/decomposition.py +0 -0
  472. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/pytorch/dispatch/linalg/inverse.py +0 -0
  473. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/pytorch/dispatch/linalg/products.py +0 -0
  474. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/pytorch/dispatch/linalg/summary.py +0 -0
  475. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/pytorch/dispatch/scalar.py +0 -0
  476. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/pytorch/dispatch/shape.py +0 -0
  477. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/pytorch/dispatch/sort.py +0 -0
  478. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/pytorch/dispatch/subtensor.py +0 -0
  479. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/pytorch/linker.py +0 -0
  480. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/utils.py +0 -0
  481. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/link/vm.py +0 -0
  482. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/misc/__init__.py +0 -0
  483. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/misc/check_blas_many.sh +0 -0
  484. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/misc/check_duplicate_key.py +0 -0
  485. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/misc/elemwise_openmp_speedup.py +0 -0
  486. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/misc/elemwise_time_test.py +0 -0
  487. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/misc/frozendict.py +0 -0
  488. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/misc/may_share_memory.py +0 -0
  489. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/misc/ordered_set.py +0 -0
  490. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/misc/pkl_utils.py +0 -0
  491. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/npy_2_compat.py +0 -0
  492. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/py.typed +0 -0
  493. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/raise_op.py +0 -0
  494. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/scalar/__init__.py +0 -0
  495. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/scalar/c_code/Faddeeva.cc +0 -0
  496. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/scalar/c_code/Faddeeva.hh +0 -0
  497. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/scalar/c_code/gamma.c +0 -0
  498. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/scalar/c_code/incbet.c +0 -0
  499. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/scalar/sharedvar.py +0 -0
  500. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/scan/__init__.py +0 -0
  501. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/scan/basic.py +0 -0
  502. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/scan/checkpoints.py +0 -0
  503. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/scan/op.py +0 -0
  504. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/scan/rewriting/__init__.py +0 -0
  505. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/scan/rewriting/db.py +0 -0
  506. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/scan/rewriting/inner_graph.py +0 -0
  507. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/scan/rewriting/inplace.py +0 -0
  508. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/scan/rewriting/io.py +0 -0
  509. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/scan/rewriting/merge.py +0 -0
  510. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/scan/rewriting/push_out.py +0 -0
  511. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/scan/rewriting/trace.py +0 -0
  512. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/scan/rewriting/utils.py +0 -0
  513. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/scan/scan_perform.pyx +0 -0
  514. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/scan/scan_perform_ext.py +0 -0
  515. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/scan/utils.py +0 -0
  516. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/scan/views.py +0 -0
  517. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/sparse/__init__.py +0 -0
  518. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/sparse/linalg.py +0 -0
  519. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/sparse/sharedvar.py +0 -0
  520. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/sparse/type.py +0 -0
  521. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/sparse/utils.py +0 -0
  522. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/sparse/variable.py +0 -0
  523. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/__init__.py +0 -0
  524. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/blas/_core.py +0 -0
  525. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/blas/batched.py +0 -0
  526. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/blas/c_code/__init__.py +0 -0
  527. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/blas/c_code/alt_blas_common.h +0 -0
  528. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/blas/c_code/alt_blas_template.c +0 -0
  529. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/blas/c_code/blas_headers.py +0 -0
  530. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/blas/gemm.py +0 -0
  531. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/blas/gemv.py +0 -0
  532. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/einsum.py +0 -0
  533. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/elemwise_cgen.py +0 -0
  534. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/exceptions.py +0 -0
  535. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/extra_ops.py +0 -0
  536. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/fft.py +0 -0
  537. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/fourier.py +0 -0
  538. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/functional.py +0 -0
  539. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/interpolate.py +0 -0
  540. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/linalg/__init__.py +0 -0
  541. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/linalg/_lazy.py +0 -0
  542. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/linalg/constructors.py +0 -0
  543. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/linalg/decomposition/__init__.py +0 -0
  544. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/linalg/decomposition/cholesky.py +0 -0
  545. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/linalg/decomposition/eigen.py +0 -0
  546. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/linalg/decomposition/lu.py +0 -0
  547. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/linalg/decomposition/qr.py +0 -0
  548. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/linalg/decomposition/schur.py +0 -0
  549. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/linalg/decomposition/svd.py +0 -0
  550. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/linalg/dtype_utils.py +0 -0
  551. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/linalg/solvers/__init__.py +0 -0
  552. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/linalg/solvers/core.py +0 -0
  553. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/linalg/solvers/lstsq.py +0 -0
  554. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/linalg/solvers/triangular.py +0 -0
  555. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/linalg/solvers/tridiagonal.py +0 -0
  556. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/linalg/summary.py +0 -0
  557. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/nlinalg.py +0 -0
  558. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/pad.py +0 -0
  559. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/random/__init__.py +0 -0
  560. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/random/basic.py +0 -0
  561. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/random/rewriting/__init__.py +0 -0
  562. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/random/rewriting/basic.py +0 -0
  563. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/random/rewriting/jax.py +0 -0
  564. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/random/rewriting/numba.py +0 -0
  565. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/random/type.py +0 -0
  566. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/random/utils.py +0 -0
  567. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/random/variable.py +0 -0
  568. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/reshape.py +0 -0
  569. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/rewriting/assumptions.py +0 -0
  570. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/rewriting/basic.py +0 -0
  571. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/rewriting/blockwise.py +0 -0
  572. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/rewriting/einsum.py +0 -0
  573. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/rewriting/extra_ops.py +0 -0
  574. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/rewriting/jax.py +0 -0
  575. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/rewriting/linalg/summary.py +0 -0
  576. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/rewriting/linalg/utils.py +0 -0
  577. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/rewriting/numba.py +0 -0
  578. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/rewriting/ofg.py +0 -0
  579. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/rewriting/reshape.py +0 -0
  580. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/rewriting/shape.py +0 -0
  581. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/rewriting/special.py +0 -0
  582. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/rewriting/subtensor_lift.py +0 -0
  583. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/rewriting/uncanonicalize.py +0 -0
  584. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/sharedvar.py +0 -0
  585. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/signal/__init__.py +0 -0
  586. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/signal/conv.py +0 -0
  587. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/slinalg.py +0 -0
  588. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/sort.py +0 -0
  589. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/special.py +0 -0
  590. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/subtensor.py +0 -0
  591. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/symbolic.py +0 -0
  592. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/type.py +0 -0
  593. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/type_other.py +0 -0
  594. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/utils.py +0 -0
  595. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/var.py +0 -0
  596. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/variable.py +0 -0
  597. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/tensor/xlogx.py +0 -0
  598. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/typed_list/__init__.py +0 -0
  599. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/typed_list/rewriting.py +0 -0
  600. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/typed_list/type.py +0 -0
  601. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/utils.py +0 -0
  602. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/xtensor/__init__.py +0 -0
  603. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/xtensor/basic.py +0 -0
  604. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/xtensor/indexing.py +0 -0
  605. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/xtensor/linalg.py +0 -0
  606. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/xtensor/math.py +0 -0
  607. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/xtensor/random/__init__.py +0 -0
  608. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/xtensor/random/basic.py +0 -0
  609. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/xtensor/random/type.py +0 -0
  610. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/xtensor/random/variable.py +0 -0
  611. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/xtensor/reduction.py +0 -0
  612. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/xtensor/rewriting/__init__.py +0 -0
  613. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/xtensor/rewriting/basic.py +0 -0
  614. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/xtensor/rewriting/indexing.py +0 -0
  615. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/xtensor/rewriting/math.py +0 -0
  616. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/xtensor/rewriting/reduction.py +0 -0
  617. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/xtensor/rewriting/shape.py +0 -0
  618. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/xtensor/rewriting/utils.py +0 -0
  619. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/xtensor/rewriting/vectorization.py +0 -0
  620. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/xtensor/shape.py +0 -0
  621. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/xtensor/signal.py +0 -0
  622. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/xtensor/type.py +0 -0
  623. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor/xtensor/vectorization.py +0 -0
  624. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor.egg-info/dependency_links.txt +0 -0
  625. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor.egg-info/entry_points.txt +0 -0
  626. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor.egg-info/requires.txt +0 -0
  627. {pytensor-3.3.4 → pytensor-3.3.6}/pytensor.egg-info/top_level.txt +0 -0
  628. {pytensor-3.3.4 → pytensor-3.3.6}/scripts/slowest_tests/update-slowest-times-issue.sh +0 -0
  629. {pytensor-3.3.4 → pytensor-3.3.6}/setup.cfg +0 -0
  630. {pytensor-3.3.4 → pytensor-3.3.6}/setup.py +0 -0
  631. {pytensor-3.3.4 → pytensor-3.3.6}/tests/link/c/c_code/test_cenum.h +0 -0
  632. {pytensor-3.3.4 → pytensor-3.3.6}/tests/link/c/c_code/test_quadratic_function.c +0 -0
  633. {pytensor-3.3.4 → pytensor-3.3.6}/tests/test_basic.py +0 -0
  634. {pytensor-3.3.4 → pytensor-3.3.6}/tests/test_breakpoint.py +0 -0
  635. {pytensor-3.3.4 → pytensor-3.3.6}/tests/test_config.py +0 -0
  636. {pytensor-3.3.4 → pytensor-3.3.6}/tests/test_gradient.py +0 -0
  637. {pytensor-3.3.4 → pytensor-3.3.6}/tests/test_pytensor_cache.py +0 -0
  638. {pytensor-3.3.4 → pytensor-3.3.6}/tests/test_raise_op.py +0 -0
  639. {pytensor-3.3.4 → pytensor-3.3.6}/tests/test_rop.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pytensor
3
- Version: 3.3.4
3
+ Version: 3.3.6
4
4
  Summary: Optimizing compiler for evaluating mathematical expressions on CPUs and GPUs.
5
5
  Author-email: pymc-devs <pymc.devs@gmail.com>
6
6
  License-Expression: BSD-3-Clause
@@ -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 `AddSD` sparse `Op` for an example with C code. It implements
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.dnn__conv__algo_fwd``) should be defined in their
79
- corresponding section (e.g. ``[dnn.conv]``).
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 ``ger``, ``gemv`` and small ``gemm`` operations
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
 
@@ -21,7 +21,7 @@ IfElse vs Switch
21
21
  .. testcode::
22
22
 
23
23
  from pytensor import tensor as pt
24
- from pytensor.ifelse import ifelse
24
+ from pytensor.conditional import ifelse
25
25
  import pytensor, time, numpy
26
26
 
27
27
  a,b = pt.scalars('a', 'b')
@@ -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
- from pytensor.ifelse import ifelse
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-15T10:08:22+0200",
11
+ "date": "2026-10-30T22:09:52+0100",
12
12
  "dirty": false,
13
13
  "error": null,
14
- "full-revisionid": "ce6df07fd243c5d372d84e30078fe2abd03f81d2",
15
- "version": "3.3.4"
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
- After owner-based inference, walks the ``IMPLIES`` graph in both directions:
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.T is diagonal (identity) when x is orthogonal."""
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
- feature.check(a, ORTHOGONAL)
102
- and b.owner is not None
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.tensor.elemwise import DimShuffle
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 left_expand_dims_propagates_matrix_property
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, Conj, Mul
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
- for left, right in [(x, y), (y, x)]:
138
- if is_complex:
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 basecompiledir" '
46
- "to print the parent of the cache directory"
47
- )
48
- print(
49
- 'Type "pytensor-cache basecompiledir list" '
50
- "to print the content of the base compile dir"
51
- )
52
- print(
53
- 'Type "pytensor-cache basecompiledir purge" '
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