Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/DALI
/ pytorch_wrapper
Function
pytorch_wrapper
dali/test/python/test_dltensor_operator.py:135–136 ·
view source on GitHub ↗
(fun)
Source
from the content-addressed store, hash-verified
133
134
135
def
pytorch_wrapper(fun):
136
return
lambda
in1, in2: pytorch_adapter(fun, in1, in2)
137
138
139
def
common_case(wrapped_fun, device, compare, synchronize=True):
Callers
1
pytorch_case
Function · 0.85
Calls
1
pytorch_adapter
Function · 0.85
Tested by
no test coverage detected