MCPcopy Create free account
hub / github.com/ChenWu98/agent-attack / ImageProcessor

Class ImageProcessor

agent_attack/util/interfaces.py:33–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31
32
33class ImageProcessor(Protocol):
34 def __call__(self, img: Image, **kwargs) -> Union[torch.Tensor, Dict[str, torch.Tensor]]:
35 ...
36
37
38# === General VLM Inference Interface ===

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected