import torch


def ln_sub_divTH(x : torch.Tensor, alpha : torch.Tensor, beta : torch.Tensor) -> torch.Tensor:
    """
    out = (x - beta[None, :, None]) / alpha[None, :, None]
    """
    return (x - beta[None, :, None]) / alpha[None, :, None]