I installed pytorch version 0.1.12_2
>>> torch.__version__
>>> '0.1.12_2'

but when I used torch.nn.BCEWithLogitsLoss(), it said:
AttributeError: 'module' object has no attribute 'BCEWithLogitsLoss'
anyone knows what’s wrong?
Thanks