code: def get_cutensor_version(formatted=False):
      """Return cuTENSOR version cached in check_cutensor_version()."""
      global _cutensor_version
      if _cutensor_version is None:
          msg = "check_cutensor_version() must be called first."
          raise RuntimeError(msg)
      return _cutensor_version
  
imports: import contextlib
  import os
  import re
  import shlex
  import shutil
  import subprocess
  import sys
  import tempfile
  from typing import List, Set
  import cupy_builder
  import cupy_builder.install_utils
  from cupy_builder import _environment
  from cupy_builder._context import Context
label_desc: Use image node_id 26 for calling a global function with example usage: get_cutensor_version(formatted) and returns: _cutensor_version