Implement `pad` (#748)
* Add `pt.pad`
* Refactor linspace, logspace, and geomspace to match numpy implementation
* Add `pt.flip`
* Move `flip` to `tensor/subtensor.py`, add docstring
* Move `slice_at_axis` to `tensor/subtensor` and expose it in `pytensor.tensor`
正在显示
pytensor/link/jax/dispatch/pad.py
0 → 100644
pytensor/tensor/pad.py
0 → 100644
tests/link/jax/test_pad.py
0 → 100644
tests/link/numba/test_pad.py
0 → 100644
tests/tensor/test_pad.py
0 → 100644
请
注册
或者
登录
后发表评论