code: def evaluate_mask_seq_len(self, seq_len, mask):
      max_len = int(max(seq_len))
      for i in range(len(seq_len)):
          length = seq_len[i]
          mask_i = mask[i]
          for j in range(max_len):
              assert mask_i[j].item() == (j < length), (i, j, length)
  
file_path: fastNLP/tests/core/utils/test_seq_len_to_mask.py
imports: import pytest
  import numpy
  from fastNLP.core.utils.seq_len_to_mask import seq_len_to_mask
  from fastNLP.envs.imports import _NEED_IMPORT_JITTOR, _NEED_IMPORT_PADDLE, _NEED_IMPORT_TORCH, _NEED_IMPORT_ONEFLOW
label_desc: Use image node_id 1 for calling the TestSeqLenToMask obj's underlying member method code with example usage: obj.evaluate_mask_seq_len(seq_len, mask) without return types