As per the docs 3,  Bicubic upsample is supported for 5D data but it’s giving an error. Also when I opened the functional file, there is no case for 5D and bicubic.
For reproducing, see the code, please. Can someone explain to me that its a kind of PyTorch bug or docs needs explanation? Thanks alot.
import torch
bicubic_upsampling = torch.nn.Upsample(scale_factor=4, mode='bicubic', align_corners=True)
bu = bicubic_upsampling(torch.rand(8,7,3,100,100))
#NotImplementedError: Input Error: Only 3D, 4D and 5D input Tensors supported (got 5D)
#for the modes: nearest | linear | bilinear | bicubic | trilinear (got bicubic)