Differentiable and Transportable Structure Learning