diff --git a/beginner_source/dcgan_faces_tutorial.py b/beginner_source/dcgan_faces_tutorial.py index bac6607c3e3..a909f713393 100644 --- a/beginner_source/dcgan_faces_tutorial.py +++ b/beginner_source/dcgan_faces_tutorial.py @@ -459,7 +459,7 @@ def forward(self, input): # With :math:`D` and :math:`G` setup, we can specify how they learn # through the loss functions and optimizers. We will use the Binary Cross # Entropy loss -# (`BCELoss `__) +# (`BCELoss `__) # function which is defined in PyTorch as: # # .. 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]