ocr/utils/encoder_decoder.py [481:486]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        self._dropout = dropout
        self._use_residual = use_residual
        self._output_attention = output_attention
        self._scaled = scaled
        with self.name_scope():
            self.dropout_layer = nn.Dropout(dropout)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



ocr/utils/encoder_decoder.py [804:809]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        self._dropout = dropout
        self._use_residual = use_residual
        self._output_attention = output_attention
        self._scaled = scaled
        with self.name_scope():
            self.dropout_layer = nn.Dropout(dropout)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



