class_docstr: Helper class to deduplicate samples.
  
  Different from the deduplication on the HPO side,
  this class simply checks if a sample has been tried before, and does nothing else.
class_docstr_tok: ["Helper","class","to","deduplicate","samples",".","Different","from","the","deduplication","on","the","HPO","side",",","this","class","simply","checks","if","a","sample","has","been","tried","before",",","and","does","nothing","else","."]
code: def load_state_dict(self, state_dict):
      self._history = set(state_dict["dedup_history"])
  
file_path: nni/nni/nas/strategy/utils.py
imports: from __future__ import annotations
  import logging
  from typing import Any, Type, TypeVar, Callable
  from nni.mutable import SampleValidationError
label_desc: Use image node_id 6 for calling the DeduplicationHelper obj's underlying member method code with example usage: obj.load_state_dict(state_dict) without return types