Email Post: End-to-End Learning-Based Framework for Amplify-and-Forward Relay Networks