The Detroit Tigers second baseman Gleyber Torres, who struggled on offense in the second half of the season, will undergo surgery for a hernia injury.