code: def __init__(self, max_seq_len=512, infer_mode=False, **kwargs):
      self.max_seq_len = max_seq_len
      self.infer_mode = infer_mode
  
imports: import numpy
label_desc: Use image node_id 1 to create a new TensorizeEntitiesRelations object from inherited base classes: object with example: obj = TensorizeEntitiesRelations(max_seq_len, infer_mode)