code: def cache_set(name: str, value: Any, file_type: str = "json") -> Any:
      """
      Save data in cache.
  
      Arguments:
          name (str): name of the cache
          value (any): data to be cached
          file_type (str, optional): The file type to store the data. Defaults to ``json``.
      """
      path = _get_cache_path(name, file_type)
      _cache_save(path, value, file_type)
  
file_path: labml/client/labml/utils/cache.py
imports: import functools
  import json
  import pickle
  from pathlib import Path
  from typing import Callable, Any, Optional
  from labml import lab
label_desc: Use image node_id 7 for calling a global function with example usage: cache_set(name, value, file_type) without return types