code: def _H_to_U(
      W: torch.Tensor, H: torch.Tensor, h: float
  ) -> torch.Tensor:
      return h * (0.5 * W + H)
  
imports: import math
  import trampoline
  import warnings
  import numpy
  import torch
  from .None import brownian_base
  from ..settings import LEVY_AREA_APPROXIMATIONS
  from ..types import Scalar, Optional, Tuple, Union, Tensor
label_desc: Use image node_id 6 for calling a global function with example usage: _H_to_U(W, H, h) and returns: unknown