Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/amov-lab/Prometheus
/ c_array
Function
c_array
Modules/object_detection/src/darknet_lib/python/darknet.py:15–18 ·
view source on GitHub ↗
(ctype, values)
Source
from the content-addressed store, hash-verified
13
return
len(probs)-1
14
15
def
c_array(ctype, values):
16
arr = (ctype*len(values))()
17
arr[:] = values
18
return
arr
19
20
class
BOX(Structure):
21
_fields_ = [(
"x"
, c_float),
Callers
1
predict_tactic
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected