Exploring the ability of the Deep Ritz Method to model strain localization as a sharp discontinuity