docstr: A workaround to get current device (which is assumed to be the
  device of the first parameter of one of the submodules) 
code: def device(self) -> torch.device:
      """A workaround to get current device (which is assumed to be the
      device of the first parameter of one of the submodules)"""
      return next(self.ffnn.parameters()).device
  
file_path: stanza/stanza/models/coref/span_predictor.py
imports: from typing import List, Optional, Tuple
  from stanza.models.coref.const import Doc, Span
  import torch
label_desc: Use image node_id 2 for calling the SpanPredictor obj's underlying member method code with example usage: obj.device() and returns: next