You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add bicubic and trilinear modes to interpolate / Upsample #1
interpolate / Upsample currently supports "nearest" and "bilinear" modes (see src/python.rs around lines 2733 and 8906, and crates/oxideon-core/src/vision_ops.rs). Adding "bicubic" (for 4D [N, C, H, W] tensors) and "trilinear" (for 5D [N, C, D, H, W] tensors) with align_corners support will bring Oxideon closer to full PyTorch parity for vision and 3D/video workloads.
Relevant Files
crates/oxideon-core/src/vision_ops.rs
src/python.rs (interpolate, Upsample)
tests/ (add parity tests against torch.nn.functional.interpolate)
Acceptance Criteria
Implement bicubic 2D interpolation (forward + autograd backward) in oxideon-core.
Implement trilinear 3D interpolation (forward + autograd backward) in oxideon-core.
Expose both modes in Python ox.nn.functional.interpolate and ox.nn.Upsample.
Add unit tests verifying forward outputs and gradients against PyTorch (rtol=1e-4, atol=1e-5).
Activity