class_docstr: Type Protocol for all detectors.
  
  Used for typing legacy save and load functionality in `alibi_detect.saving._tensorflow.saving.py`.
  
  Note
  ----
      This exists to distinguish between detectors with and without support for config saving and loading. Once all
      detector support this then this protocol will be removed.
class_docstr_tok: ["Type","Protocol","for","all","detectors",".","Used","for","typing","legacy","save","and","load","functionality","in","`","alibi_detect.saving._tensorflow.saving.py","`",".","Note","--","--","This","exists","to","distinguish","between","detectors","with","and","without","support","for","config","saving","and","loading",".","Once","all","detector","support","this","then","this","protocol","will","be","removed","."]
code: def predict(self) -> Any:
      ...
  
imports: from abc import ABC, abstractmethod
  import os
  import copy
  import json
  import numpy
  from typing import Dict, Any, Optional, Union
  from typing_extensions import Protocol, runtime_checkable
  from alibi_detect.version import __version__
label_desc: Use image node_id 1 for calling the Detector obj's underlying member method code with example usage: obj.predict() without return types