class_docstr: A single set of BERT features of data.
code: def __init__(
      self,
      doc_span_index,
      tokens,
      token_to_orig_map,
      token_to_orig_map_matrix,
      input_ids,
      input_mask,
      segment_ids,
  ):
      self.doc_span_index = doc_span_index
      self.tokens = tokens
      self.token_to_orig_map = token_to_orig_map
      self.token_to_orig_map_matrix = token_to_orig_map_matrix
      self.input_ids = input_ids
      self.input_mask = input_mask
      self.segment_ids = segment_ids
  
file_path: graph4nlp/graph4nlp/pytorch/modules/utils/bert_utils.py
imports: from collections import namedtuple
  import numpy
  import torch
label_desc: Use image node_id 1 to create a new BertInputFeatures object from inherited base classes: object with example: obj = BertInputFeatures(doc_span_index, tokens, token_to_orig_map, token_to_orig_map_matrix, input_ids, input_mask, segment_ids)