Leverages edge computing for testing and training autonomous vehicles