code: def parse_sentences_no_grad(
      self,
      data_iterator,
      build_batch_fn,
      batch_size,
      transition_choice,
      keep_state=False,
      keep_constituents=False,
      keep_scores=False,
  ):
      with torch.no_grad():
          return self.parse_sentences(
              data_iterator,
              build_batch_fn,
              batch_size,
              transition_choice,
              keep_state,
              keep_constituents,
              keep_scores,
          )
  
imports: import argparse
  import logging
  import os
  import torch
  from stanza.models.common import utils
  from stanza.models.common.foundation_cache import FoundationCache
  from stanza.models.constituency import parse_transitions
  from stanza.models.constituency import retagging
  from stanza.models.constituency import tree_reader
  from stanza.models.constituency.trainer import Trainer, run_dev_set, parse_text, parse_dir
  from stanza.models.constituency.utils import add_predict_output_args, postprocess_predict_output_args, retag_trees
  from stanza.resources.common import DEFAULT_MODEL_DIR
  from stanza.server.parser_eval import EvaluateParser, ParseResult, ScoredTree
  from stanza.utils.default_paths import get_default_paths
label_desc: Use image node_id 9 for calling the Ensemble obj's underlying member method code with example usage: obj.parse_sentences_no_grad(data_iterator, build_batch_fn, batch_size, transition_choice, keep_state, keep_constituents, keep_scores) and returns: self