Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/DALI
/ box_extent
Function
box_extent
dali/test/python/operator_2/test_random_object_bbox.py:98–100 ·
view source on GitHub ↗
(box)
Source
from the content-addressed store, hash-verified
96
97
98
def
box_extent(box):
99
n = len(box) // 2
100
return
box[n:] - box[:n]
101
102
103
def
box_volume(box):
Callers
3
box_volume
Function · 0.85
_test_random_object_bbox_with_class
Function · 0.85
_test_random_object_bbox_ignore_class
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected