class_docstr: Stores data in-memory. It's ephemeral and cannot be saved to disk.
docstr: Deserializes the store from a dictionary.
docstr_tok: ["Deserializes","the","store","from","a","dictionary","."]
code: def from_dict(cls, data: Dict[str, Any]) -> "InMemoryDocumentStore":
      """
      Deserializes the store from a dictionary.
      """
      return default_from_dict(cls, data)
  
imports: import re
  from typing import Literal, Any, Dict, List, Optional, Iterable
  import logging
  import numpy
  from haystack_bm25 import rank_bm25
  from tqdm.auto import tqdm
  from haystack import default_from_dict, default_to_dict
  from haystack.dataclasses import Document
  from haystack.document_stores.types import DuplicatePolicy
  from haystack.utils.filters import document_matches_filter, convert
  from haystack.document_stores.errors import DuplicateDocumentError, DocumentStoreError
  from haystack.utils import expit
label_desc: Use image node_id 3 for calling the InMemoryDocumentStore obj's underlying member method code with example usage: obj.from_dict(cls, data) and returns: default_from_dict