MCPcopy Create free account
hub / github.com/ZjjConan/SimAM / accuracy

Function accuracy

util.py:48–62  ·  view source on GitHub ↗

Computes the accuracy over the k top predictions for the specified values of k

(output, target, topk=(1,))

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

trainFunction · 0.90
validateFunction · 0.90
trainFunction · 0.90
validateFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected