Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/DALI
/ layout_compatible
Function
layout_compatible
dali/test/python/test_backend_impl.py:287–292 ·
view source on GitHub ↗
(a, b)
Source
from the content-addressed store, hash-verified
285
286
287
def
layout_compatible(a, b):
288
if
a is None:
289
a =
""
290
if
b is None:
291
b =
""
292
return
a == b
293
294
295
def
test_tensor_cpu_squeeze():
Callers
1
check_squeeze
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected