parameters: (self, encoder_path, decoder_path)
docstring: Snapshot models
docstring_summary: Snapshot models
docstring_tokens: Snapshot models
function: def save(self, encoder_path, decoder_path):
          ''' Snapshot models '''
          torch.save(self.encoder.state_dict(), encoder_path)
          torch.save(self.decoder.state_dict(), decoder_path)
function_tokens: def save ( self , encoder_path , decoder_path ) : torch . save ( self . encoder . state_dict ( ) , encoder_path ) torch . save ( self . decoder . state_dict ( ) , decoder_path )