Skip to content

Commit 0945f40

Browse files
author
Svetlana Karslioglu
authored
Merge branch 'main' into patch-1
2 parents 07e12f3 + f5bfe66 commit 0945f40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

beginner_source/dcgan_faces_tutorial.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ def forward(self, input):
459459
# With :math:`D` and :math:`G` setup, we can specify how they learn
460460
# through the loss functions and optimizers. We will use the Binary Cross
461461
# Entropy loss
462-
# (`BCELoss <https://pytorch.org/docs/stable/nn.html#torch.nn.BCELoss>`__)
462+
# (`BCELoss <https://pytorch.org/docs/stable/generated/torch.nn.BCELoss.html#torch.nn.BCELoss>`__)
463463
# function which is defined in PyTorch as:
464464
#
465465
# .. math:: \ell(x, y) = L = \{l_1,\dots,l_N\}^\top, \quad l_n = - \left[ y_n \cdot \log x_n + (1 - y_n) \cdot \log (1 - x_n) \right]

0 commit comments

Comments
 (0)