import torch


def are_broadcastable(a: torch.Tensor, b: torch.Tensor) -> bool:
    """ Returns True if the two tensor are broadcastable to each other, False otherwise. """
    return all((m == n) or (m == 1) or (n == 1) for m, n in zip(a.shape[::-1], b.shape[::-1]))