Mark Gross' notes survey of SYZ fibrations and toric degenerations begin by explaining why dual torus fibrations interchange Hodge numbers. But he defined the Hodge numbers in an unusual way $$h^{p,q}(X) = \text{dim}_\mathbb{R}H^p(B,R^qf_\ast \mathbb{R}),$$ where $f: X \to B$ is a torus fibration, $B$ is a real $3$-manifold, and $X$ is a complex Calabi-Yau threefold.
I thought the Hodge numbers were $h^{p,q}(X) = \text{dim}_\mathbb{R}H^p(X,\Omega^q_X).$ Why ought these numbers agree?
Reference. https://arxiv.org/pdf/0802.3407.pdf