Created by: sneaxiy
Refine some grad maker ops to remove unnecessary inputs, to save memory consumption of models.