Simple pad support. (#336)

* Simple pad support.

* Fix the tensor indexing when padding.
This commit is contained in:
Laurent Mazare
2023-08-07 16:24:56 +02:00
committed by GitHub
parent e72ba0b9e7
commit f53a333ea9
4 changed files with 31 additions and 7 deletions

View File

@ -4,10 +4,6 @@ pub fn avg_pool2d(_: &Tensor) -> Result<Tensor> {
todo!()
}
pub fn pad(_: &Tensor) -> Result<Tensor> {
todo!()
}
pub fn upsample_nearest2d(_: &Tensor) -> Result<Tensor> {
todo!()
}