Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/DALI
/ pixel
Function
pixel
dali/test/python/operator_2/test_random_resized_crop.py:30–31 ·
view source on GitHub ↗
(x, y)
Source
from the content-addressed store, hash-verified
28
29
def
analyze_frame(image, channel_dim):
30
def
pixel(x, y):
31
return
image[:, y, x]
if
channel_dim == 0
else
image[y, x, :]
32
33
x0, y0, f0 = pixel(0, 0)
34
x1, y1, f1 = pixel(-1, 0)
Callers
1
analyze_frame
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected