Australian Olympian Ashleigh Gentle will compete in a triathlon this weekend after suffering a miscarriage just a week ago.