code: def speed(actor: carla.Actor) -> float:
      """Returns the speed of the given actor in km/h."""
      return 3.6 * vector_norm(actor.get_velocity())
  
imports: import os
  import cv2
  import math
  import random
  import numpy
  import carla
  import pygame
  import threading
  import datetime
  from typing import Union
  from tensorforce.agents import Agent
label_desc: Use image node_id 23 for calling a global function with example usage: speed(actor) and returns: unknown