Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/THUYimingLi/BackdoorBox
/ check
Function
check
core/attacks/base.py:24–25 ·
view source on GitHub ↗
(dataset)
Source
from the content-addressed store, hash-verified
22
23
24
def
check(dataset):
25
return
isinstance(dataset, support_list)
26
27
28
def
accuracy(output, target, topk=(1,)):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected