docstr: Drop memory intensive resources if keeping this processor around for reasons other than running it. 
docstr_tok: ["Drop","memory","intensive","resources","if","keeping","this","processor","around","for","reasons","other","than","running","it","."]
code: def mark_inactive(self):
      """Drop memory intensive resources if keeping this processor around for reasons other than running it."""
      super().mark_inactive()
      self.trainers = None
  
file_path: stanza/stanza/pipeline/ner_processor.py
imports: import torch
  import logging
  from stanza.models.common import doc
  from stanza.models.common.exceptions import ForwardCharlmNotFoundError, BackwardCharlmNotFoundError
  from stanza.models.common.utils import unsort
  from stanza.models.ner.data import DataLoader
  from stanza.models.ner.trainer import Trainer
  from stanza.models.ner.utils import merge_tags
  from stanza.pipeline._constants import *
  from stanza.pipeline.processor import UDProcessor, register_processor
label_desc: Use image node_id 5 for calling the NERProcessor obj's underlying member method code with example usage: obj.mark_inactive() without return types