• Jesse Grabowski's avatar
    Implement `pad` (#748) · 981688c3
    Jesse Grabowski 提交于
    * 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`
    981688c3
test_pad.py 7.0 KB