Unverified 提交 a0ee9a44 authored 作者: Jesse Grabowski's avatar Jesse Grabowski 提交者: GitHub

Remove deprecated AbstractConv Ops and tests (#1817)

* Remove depreciated AbstractConv Ops and tests * Remove tensor/conv from test CI * remove conv.rst
上级 482e6cc2
...@@ -84,10 +84,10 @@ jobs: ...@@ -84,10 +84,10 @@ jobs:
part: part:
- [ "*rest", "tests --ignore=tests/scan --ignore=tests/tensor --ignore=tests/xtensor --ignore=tests/link/numba" ] - [ "*rest", "tests --ignore=tests/scan --ignore=tests/tensor --ignore=tests/xtensor --ignore=tests/link/numba" ]
- [ "scan", "tests/scan" ] - [ "scan", "tests/scan" ]
- [ "tensor *rest", "tests/tensor --ignore=tests/tensor/test_basic.py --ignore=tests/tensor/test_elemwise.py --ignore=tests/tensor/test_math.py --ignore=tests/tensor/test_math_scipy.py --ignore=tests/tensor/test_blas.py --ignore=tests/tensor/signal --ignore=tests/tensor/conv --ignore=tests/tensor/rewriting --ignore=tests/tensor/linalg --ignore=tests/tensor/test_nlinalg.py --ignore=tests/tensor/test_slinalg.py --ignore=tests/tensor/test_pad.py" ] - [ "tensor *rest", "tests/tensor --ignore=tests/tensor/test_basic.py --ignore=tests/tensor/test_elemwise.py --ignore=tests/tensor/test_math.py --ignore=tests/tensor/test_math_scipy.py --ignore=tests/tensor/test_blas.py --ignore=tests/tensor/signal --ignore=tests/tensor/rewriting --ignore=tests/tensor/linalg --ignore=tests/tensor/test_nlinalg.py --ignore=tests/tensor/test_slinalg.py --ignore=tests/tensor/test_pad.py" ]
- [ "tensor basic+elemwise", "tests/tensor/test_basic.py tests/tensor/test_elemwise.py" ] - [ "tensor basic+elemwise", "tests/tensor/test_basic.py tests/tensor/test_elemwise.py" ]
- [ "tensor math", "tests/tensor/test_math.py" ] - [ "tensor math", "tests/tensor/test_math.py" ]
- [ "tensor scipy+blas+conv+pad", "tests/tensor/test_math_scipy.py tests/tensor/test_blas.py tests/tensor/signal tests/tensor/conv tests/tensor/test_pad.py" ] - [ "tensor scipy+blas+pad", "tests/tensor/test_math_scipy.py tests/tensor/test_blas.py tests/tensor/signal tests/tensor/test_pad.py" ]
- [ "tensor rewriting", "tests/tensor/rewriting" ] - [ "tensor rewriting", "tests/tensor/rewriting" ]
- [ "tensor linalg", "tests/tensor/linalg tests/tensor/test_nlinalg.py tests/tensor/test_slinalg.py" ] - [ "tensor linalg", "tests/tensor/linalg tests/tensor/test_nlinalg.py tests/tensor/test_slinalg.py" ]
exclude: exclude:
......
=========================================
:mod:`tensor.conv` -- Tensor Convolutions
=========================================
.. module:: tensor.conv
:platform: Unix, Windows
:synopsis: Tensor Convolutions
.. moduleauthor:: LISA, PyMC Developers, PyTensor Developers
.. automodule:: pytensor.tensor.conv
:members:
...@@ -270,15 +270,6 @@ def add_basic_configvars(): ...@@ -270,15 +270,6 @@ def add_basic_configvars():
in_c_key=False, in_c_key=False,
) )
config.add(
"conv__assert_shape",
"If True, AbstractConv* ops will verify that user-provided"
" shapes match the runtime shapes (debugging option,"
" may slow down compilation)",
BoolParam(False),
in_c_key=False,
)
config.add( config.add(
"print_global_stats", "print_global_stats",
"Print some global statistics (time spent) at the end", "Print some global statistics (time spent) at the end",
......
...@@ -71,7 +71,6 @@ class PyTensorConfigParser: ...@@ -71,7 +71,6 @@ class PyTensorConfigParser:
pickle_test_value: bool pickle_test_value: bool
cast_policy: str cast_policy: str
device: str device: str
conv__assert_shape: bool
print_global_stats: bool print_global_stats: bool
unpickle_function: bool unpickle_function: bool
# add_compile_configvars # add_compile_configvars
......
from .abstract_conv import (
bilinear_upsampling,
causal_conv1d,
conv2d,
conv2d_transpose,
conv3d,
frac_bilinear_upsampling,
separable_conv2d,
separable_conv3d,
)
This source diff could not be displayed because it is too large. You can view the blob instead.
差异被折叠。
差异被折叠。
差异被折叠。
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论