code: def download_tutorials_examples(
      download_infos: dict[str, str], directory: Path
  ):
      URL_BASE = (
          "https://raw.githubusercontent.com/kornia/tutorials/master/"
      )
      for filename, path in download_infos.items():
          url = URL_BASE + path
          # perform request
          response = requests.get(url, timeout=60).content
  
          path = directory / filename
          with open(path, "wb") as fp:
              fp.write(response)
  
file_path: kornia/docs/generate_examples.py
imports: from __future__ import annotations
  import importlib
  import math
  import os
  from pathlib import Path
  from typing import Optional
  import cv2
  import matplotlib
  import matplotlib.pyplot
  import numpy
  import requests
  import torch
  from kornia_moons.feature import visualize_LAF
  import kornia
  from kornia.core import Tensor
label_desc: Use image node_id 1 for calling a global function with example usage: download_tutorials_examples(download_infos, directory) without return types