code: def set_tokenization(self, tokenizaton: str) -> None:
      all_tokenizations = set(t.name for t in VizSeqTokenization)
      for t in tokenizaton:
          if t not in all_tokenizations:
              raise ValueError(f"{t} is not a valid tokenization.")
      return self.update("tokenization", tokenizaton)
  
imports: import os.path
  from typing import List, NamedTuple, Any
  from vizseq._utils.json import VizSeqJson
  from vizseq.scorers import get_scorer_ids
  from .tokenizers import VizSeqTokenization
label_desc: Use image node_id 9 for calling the VizSeqTaskConfigManager obj's underlying member method code with example usage: obj.set_tokenization(tokenizaton) and returns: self