(self, batch)
return output
NOTE: batch must have the following attributes:
            inputs_word, inputs_char, labels
NOTE: batch must have the following attributes:
            inputs_word, inputs_char, labels
NOTE : batch must have the following attributes : inputs_word inputs_char labels
def forward(self, batch):
        """
        NOTE: batch must have the following attributes:
            inputs_word, inputs_char, labels
        """
        with torch.no_grad():
            hidden = self._embed_compute(batch)
            output = self.output_layer(hidden)

        return output
def forward ( self , batch ) : with torch . no_grad ( ) : hidden = self . _embed_compute ( batch ) output = self . output_layer ( hidden ) return output