code: def set_default_summary_fmt(value: Optional[str]) -> None:
      formats: List[Optional[str]] = list(tabulate.tabulate_formats)
      formats.extend(["notebook", None])
      if value not in formats:
          raise ValueError(f"Summary does not support '{value}' format")
  
      set_config(replace(config(), summary_fmt=value))
  
imports: import contextlib
  import os
  from dataclasses import dataclass, field, replace
  from typing import Any, Dict, Generator, List, Mapping, Optional, Union
  import numpy
  import tabulate
  import tensorflow
  import tensorflow_probability
label_desc: Use image node_id 25 for calling a global function with example usage: set_default_summary_fmt(value) without return types