Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
pytensor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
testgroup
pytensor
Commits
2b2a7a54
提交
2b2a7a54
authored
10月 25, 2025
作者:
Ricardo Vieira
提交者:
Ricardo Vieira
11月 08, 2025
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
scipy-stubs broke run_mypy error report
Partially reverts
d8943500
上级
d98db669
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
3 行增加
和
5 行删除
+3
-5
environment-osx-arm64.yml
environment-osx-arm64.yml
+0
-1
environment.yml
environment.yml
+0
-1
lu.py
pytensor/link/numba/dispatch/linalg/decomposition/lu.py
+3
-3
没有找到文件。
environment-osx-arm64.yml
浏览文件 @
2b2a7a54
...
@@ -26,7 +26,6 @@ dependencies:
...
@@ -26,7 +26,6 @@ dependencies:
-
diff-cover
-
diff-cover
-
mypy
-
mypy
-
types-setuptools
-
types-setuptools
-
scipy-stubs
-
pytest
-
pytest
-
pytest-cov
-
pytest-cov
-
pytest-xdist
-
pytest-xdist
...
...
environment.yml
浏览文件 @
2b2a7a54
...
@@ -28,7 +28,6 @@ dependencies:
...
@@ -28,7 +28,6 @@ dependencies:
-
diff-cover
-
diff-cover
-
mypy
-
mypy
-
types-setuptools
-
types-setuptools
-
scipy-stubs
-
pytest
-
pytest
-
pytest-cov
-
pytest-cov
-
pytest-xdist
-
pytest-xdist
...
...
pytensor/link/numba/dispatch/linalg/decomposition/lu.py
浏览文件 @
2b2a7a54
...
@@ -48,7 +48,7 @@ def _lu_1(
...
@@ -48,7 +48,7 @@ def _lu_1(
Called when permute_l is True and p_indices is False, and returns a tuple of (perm, L, U), where perm an integer
Called when permute_l is True and p_indices is False, and returns a tuple of (perm, L, U), where perm an integer
array of row swaps, such that L[perm] @ U = A.
array of row swaps, such that L[perm] @ U = A.
"""
"""
return
linalg
.
lu
(
return
linalg
.
lu
(
# type: ignore[no-any-return]
a
,
a
,
permute_l
=
permute_l
,
permute_l
=
permute_l
,
check_finite
=
check_finite
,
check_finite
=
check_finite
,
...
@@ -70,7 +70,7 @@ def _lu_2(
...
@@ -70,7 +70,7 @@ def _lu_2(
Called when permute_l is False and p_indices is True, and returns a tuple of (PL, U), where PL is the
Called when permute_l is False and p_indices is True, and returns a tuple of (PL, U), where PL is the
permuted L matrix, PL = P @ L.
permuted L matrix, PL = P @ L.
"""
"""
return
linalg
.
lu
(
return
linalg
.
lu
(
# type: ignore[no-any-return]
a
,
a
,
permute_l
=
permute_l
,
permute_l
=
permute_l
,
check_finite
=
check_finite
,
check_finite
=
check_finite
,
...
@@ -92,7 +92,7 @@ def _lu_3(
...
@@ -92,7 +92,7 @@ def _lu_3(
Called when permute_l is False and p_indices is False, and returns a tuple of (P, L, U), where P is the permutation
Called when permute_l is False and p_indices is False, and returns a tuple of (P, L, U), where P is the permutation
matrix, P @ L @ U = A.
matrix, P @ L @ U = A.
"""
"""
return
linalg
.
lu
(
return
linalg
.
lu
(
# type: ignore[no-any-return]
a
,
a
,
permute_l
=
permute_l
,
permute_l
=
permute_l
,
check_finite
=
check_finite
,
check_finite
=
check_finite
,
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论