docstr: Compute predicted labels given x. Used to prevent label leaking
  during adversarial training.
  
  :param x: the model's input tensor.
  :return: tensor containing predicted labels.
code: def _get_predicted_label(self, x):
      """
      Compute predicted labels given x. Used to prevent label leaking
      during adversarial training.
  
      :param x: the model's input tensor.
      :return: tensor containing predicted labels.
      """
      with torch.no_grad():
          outputs = self.predict(x)
      _, y = torch.max(outputs, dim=1)
      return y
  
file_path: advertorch/advertorch/attacks/base.py
imports: from abc import ABCMeta
  import torch
  from advertorch.utils import replicate_input
label_desc: Use image node_id 1 for calling the LabelMixin obj's underlying member method code with example usage: obj._get_predicted_label(x) and returns: y