title: Is it possible to use PyTorch's `BatchNorm1d` with `BCELossWithLogits`?
body: <p>I am attempting to normalize the outputs of my classifier that uses <code>BCELossWithLogits</code> as part of its loss function. As far as I know, this implements Sigmoid function internally and outputs the loss.</p>
  <p>I want to normalize the output of the sigmoid function prior to calculating the loss. Is it possible to use <code>BatchNorm1d</code> with <code>BCELossWithLogits</code>? Or is passing the output tensor to <code>torch.sigmoid</code> to <code>BatchNorm1d</code> and separately calculating <code>BCELoss</code> the only possible solution?</p>
  <p>Thanks.</p>