class_docstr: Adds the node degree as one hot encodings to the node features.
  
  Args:
      max_degree (int): Maximum degree.
      in_degree (bool, optional): If set to :obj:`True`, will compute the
          in-degree of nodes instead of the out-degree.
          (default: :obj:`False`)
      cat (bool, optional): Concat node degrees to node features instead
          of replacing them. (default: :obj:`True`)
class_docstr_tok: ["Adds","the","node","degree","as","one","hot","encodings","to","the","node","features",".","Args",":","max_degree","(","int",")",":","Maximum","degree",".","in_degree","(","bool",",","optional",")",":","If","set","to",":","obj",":","`","True","`",",","will","compute","the","in-degree","of","nodes","instead","of","the","out-degree",".","(","default",":",":","obj",":","`","False","`",")","cat","(","bool",",","optional",")",":","Concat","node","degrees","to","node","features","instead","of","replacing","them",".","(","default",":",":","obj",":","`","True","`",")"]
code: def __repr__(self):
      return "{}({})".format(self.__class__.__name__, self.max_degree)
  
imports: import torch
  import torch.nn
  import torch.nn.functional
  from torch_geometric.nn.conv import MessagePassing
  from torch_geometric.utils import degree, remove_self_loops, add_self_loops
label_desc: Use image node_id 3 for calling the CatDegOnehot obj's underlying member method code with example usage: obj.__repr__() and returns: str