class_docstr: A placeholder identity operator that is argument-insensitive.
  (Identity has already been supported by PyTorch 1.2, we will directly
  import torch.nn.Identity in the future)
class_docstr_tok: ["A","placeholder","identity","operator","that","is","argument-insensitive",".","(","Identity","has","already","been","supported","by","PyTorch","1.2",",","we","will","directly","import","torch.nn.Identity","in","the","future",")"]
code: def __init__(self):
      super(Identity, self).__init__()
  
imports: import torch
  import torch.nn.functional
  from torch import nn
  from ...None import DGLGraph, function
  from ...base import dgl_warning
label_desc: Use image node_id 1 to create a new Identity object from inherited base classes: nn with example: obj = Identity()