r a model.</span>

<span class="sd">    Inputs: logits, targets</span>
<span class="sd">        - **logits** (torch.FloatTensor): probability distribution value from model and it has a logarithm shape.</span>
<span class="sd">            The `FloatTensor` of size ``(batch, seq_length, num_classes)``</span>
<span class="sd">        - **targets** (torch.LongTensor): ground-truth encoded to integers which directly point a word in label</span>
<span class="sd">            The `LongTensor` of size ``(batch, targ