class_docstr: Implementation for https://arxiv.org/pdf/1712.05884.pdf
class_docstr_tok: ["Implementation","for","https",":","\/\/arxiv.org\/pdf\/1712.05884.pdf"]
code: def set_num_updates(self, num_updates):
      super().set_num_updates(num_updates)
      self._num_updates = num_updates
  
imports: import logging
  import torch
  from torch import nn
  from torch.nn import functional
  from fairseq.models import FairseqEncoder, FairseqEncoderDecoderModel, FairseqIncrementalDecoder, register_model, register_model_architecture
  from fairseq.modules import LSTMCellWithZoneOut, LocationAttention
label_desc: Use image node_id 5 for calling the Tacotron2Model obj's underlying member method code with example usage: obj.set_num_updates(num_updates) without return types