class_docstr: The Stack LSTM from Dyer et al: https://arxiv.org/abs/1505.08075
class_docstr_tok: ["The","Stack","LSTM","from","Dyer","et","al",":","https",":","\/\/arxiv.org\/abs\/1505.08075"]
code: def copy(self):
      other = StackLSTM(self.lstm)
      other.stack = list(self.stack)
      return other
  
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 9 for calling the StackLSTM obj's underlying member method code with example usage: obj.copy() and returns: other