class_docstr: Constraint using similarity between sentence encodings of x and x_adv
  where the text embeddings are created using InferSent.
code: def encode(self, sentences):
      return self.model.encode(sentences, tokenize=True)
  
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 3 for calling the InferSent obj's underlying member method code with example usage: obj.encode(sentences) and returns: self