My input is of shape torch.Size([16, 4, 224, 224]) and target is of shape torch.Size([16, 224, 224]), does cross entropy function in pytorch take them as intended inputs?
My input is of shape torch.Size([16, 4, 224, 224]) and target is of shape torch.Size([16, 224, 224]), does cross entropy function in pytorch take them as intended inputs?