Closed MichaelMcCulloch closed 2 years ago
For devs reference, issue is on this line: https://github.com/arrayfire/arrayfire-rust/blob/f53bf4cb0faa33d6d4d5ee984eb9cb74a8fd1f27/src/ml/mod.rs#L81 and the corresponding line for the gradient function as well. ndims() will return 0 for 0 padding when it should pass a "2" (or matching signal.ndims() ) instead
I am contemplating if I should avoid using dim4
for padding arguments all together. I am looking into it, will send in a fix soon. Thank you for reporting it @MichaelMcCulloch
Description
Reproducible Code and/or Steps
System Information
Please provide the following information:
ArrayFire v3.8.1 (CUDA, 64-bit Linux, build default) Platform: CUDA Runtime 11.5, Driver: 510.47.03 [0] NVIDIA GeForce RTX 3090, 24252 MB, CUDA Compute 8.6 test tests::info____ ... ok
LSB Version: n/a Distributor ID: ManjaroLinux Description: Manjaro Linux Release: 21.2.3 Codename: Qonos
name, memory.total [MiB], driver_version NVIDIA GeForce RTX 3090, 24576 MiB, 510.47.03
Checklist