code: def extra_repr(self) -> str:
      if self.num_categories == -1:
          return ""
  
      return f"num_categories={self.num_categories}"
  
file_path: vision/torchvision/prototype/transforms/_type_conversion.py
imports: from typing import Any, Dict
  import torch
  from torch.nn.functional import one_hot
  from torchvision.prototype import tv_tensors
  from torchvision.transforms.v2 import Transform
label_desc: Use image node_id 3 for calling the LabelToOneHot obj's underlying member method code with example usage: obj.extra_repr() and returns: str, self, str