Kyle Lowry signed a ceremonial one-day contract to retire with the Toronto Raptors on Tuesday, ending his 20-year NBA career.