Learning to Beamform in Heterogeneous Massive MIMO Networks | Synapse