examples/research_projects/bertabs/modeling_bertabs.py/BertSumOptimizer/zero_grad
class BertSumOptimizer:    def zero_grad(self):
        self.optimizer_decoder.zero_grad()
        self.optimizer_encoder.zero_grad()