code: def _create_labels(
      n: int, r1: float, r2: float, device: torch.device = None
  ):
      """
      Create smoothed labels
      """
      return torch.empty(
          n, 1, requires_grad=False, device=device
      ).uniform_(r1, r2)
  
file_path: annotated_deep_learning_paper_implementations/labml_nn/gan/original/__init__.py
imports: import torch
  import torch.nn
  import torch.utils.data
  import torch.utils.data
  from labml_helpers.module import Module
label_desc: Use image node_id 1 for calling a global function with example usage: _create_labels(n, r1, r2, device) and returns: torch