class_docstr: Convert to one-hot vector.
  
  Args:
      depth (int): Dimension of one-hot vector.
class_docstr_tok: ["Convert","to","one-hot","vector",".","Args",":","depth","(","int",")",":","Dimension","of","one-hot","vector","."]
code: def __init__(self, depth):
      super(OneHot, self).__init__()
      self.depth = depth
  
imports: import logging
  import sys
  import time
  import numpy
  import torch
  import torch.nn.functional
  from torch import nn
label_desc: Use image node_id 1 to create a new OneHot object from inherited base classes: nn with example: obj = OneHot(depth)