MCPcopy 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
135def pytorch_wrapper(fun):
136 return lambda in1, in2: pytorch_adapter(fun, in1, in2)
137
138
139def common_case(wrapped_fun, device, compare, synchronize=True):

Callers 1

pytorch_caseFunction · 0.85

Calls 1

pytorch_adapterFunction · 0.85

Tested by

no test coverage detected