Could anyone explain how to reduce BCELoss with weight for positive targets described in issues 21 to multiplication as @smth proposed? I’ve tried to use vectors as weights and other tricks but these approaches are too complex. It’s quite important for my current project. I’ve implemented a class for it but if there is simpler way it would be great. 
P.S. My question on StackOverflow 35