def METHOD_NAME(depth, shape):
    """
    Resizes depth map.
    Parameters
    ----------
    depth : np.array [h,w]
        Depth map
    shape : tuple (H,W)
        Output shape
    Returns
    -------
    depth : np.array [H,W]
        Resized depth map
    """
    depth = cv2.resize(
        depth, dsize=shape[::-1], interpolation=cv2.INTER_NEAREST)
    return np.expand_dims(depth, axis=2)