Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ChenWu98/agent-attack
/ pgd.py
File
pgd.py
agent_attack/attacks/pgd.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
matplotlib.pyplot
as
plt
2
import
numpy
as
np
3
import
seaborn
as
sns
4
import
torch
Callers
nothing calls this directly
Calls
4
get_model
Function · 0.90
evaluate_from_pil
Function · 0.90
pgd
Function · 0.85
get_captioning_prompt_fn
Method · 0.45
Tested by
no test coverage detected