While comparing line-by-line 2d and 3d implementation, I noticed that 2d have mask, while 3d implementation have mask_in.
Here is the line-by-line comparison:
# 2draw_out=super(PartialConv2d, self).forward(torch.mul(input, mask) ifmask_inisnotNoneelseinput)
# 3draw_out=super(PartialConv3d, self).forward(torch.mul(input, mask_in) ifmask_inisnotNoneelseinput)
Is there a bug? Which one is correct?
While comparing line-by-line 2d and 3d implementation, I noticed that 2d have
mask, while 3d implementation havemask_in.Here is the line-by-line comparison:
Is there a bug? Which one is correct?