I noticed that this was implemented here: https://github.com/pytorch/pytorch/blob/master/modules/detectron/smooth_l1_loss_op.cc 8
However, I couldn’t find docs about calling this detectron module.
How should we call this function in PyTorch?
In https://pytorch.org/docs/master/nn.html#torch.nn.SmoothL1Loss 3 , we couldn’t pass the weights arguments as https://github.com/pytorch/pytorch/blob/master/modules/detectron/smooth_l1_loss_op.cc#L41 4
Thank you in advance.