class_docstr: Generic element representing a token / non-terminal / sub-tree on a stack.
  Used to compute valid actions in the RNNG parser.
class_docstr_tok: ["Generic","element","representing","a","token","\/","non-terminal","\/","sub-tree","on","a","stack",".","Used","to","compute","valid","actions","in","the","RNNG","parser","."]
code: def __repr__(self) -> str:
      return str(self.node)
  
imports: from typing import Any, List, Sized, Tuple
  import torch
  import torch.nn
  from pytext.torchscript.utils import reverse_tensor_list
  from pytext.utils.cuda import FloatTensor
  from pytext.utils.tensor import xaviervar
label_desc: Use image node_id 3 for calling the Element obj's underlying member method code with example usage: obj.__repr__() and returns: str