Calling them "Cannon Fodder" did not reflect on either their courage nor training. Grant chose to fight a "War of Attrition" coldly trading the lives of many of those men for the lives of Confederates in Lee's Armies. It was simple math- even with 2 dead Yankee soldiers for every dead Confederate soldier, sooner or later, Grant would win because he had many, many more lives to squander.
There was a reason Grant was called "Butcher" Grant in the North.
Wars of Attrition are a very, very poor way to fight a war. The Biggest "War of Attrition" that entailed millions and millions of deaths to date is World War I; and the Germans ran out of soldiers first-that is why the Allies won the war. Enough Americans arrived in France in 1917 and 1918 to shift the balance of the war into the Allies favor.