MCPcopy Create free account
hub / github.com/NVlabs/DiffPure / get_accuracy

Function get_accuracy

utils.py:131–140  ·  view source on GitHub ↗
(model, x_orig, y_orig, bs=64, device=torch.device('cuda:0'))

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

eval_bpdaFunction · 0.90
eval_stadvFunction · 0.90

Calls 1

cloneMethod · 0.45

Tested by

no test coverage detected