class_docstr: Constraint using similarity between sentence encodings of x and x_adv
  where the text embeddings are created using InferSent.
code: def __init__(self, *args, **kwargs):
      super().__init__(*args, **kwargs)
      self.model = self.get_infersent_model()
      self.model.to(utils.device)
  
file_path: TextAttack/textattack/constraints/semantics/sentence_encoders/infer_sent/infer_sent.py
imports: import os
  import torch
  from textattack.constraints.semantics.sentence_encoders import SentenceEncoder
  from textattack.shared import utils
  from .infer_sent_model import InferSentModel
label_desc: Use image node_id 1 to create a new InferSent object from inherited base classes: SentenceEncoder with example: obj = InferSent()