MCPcopy Create free account
hub / github.com/CVCUDA/CV-CUDA / DLPackObject

Class DLPackObject

tests/cvcuda/python/test_tensor.py:118–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116 # and we don't know a priori which interfaces it'll use (torch provides both),
117 # let's create one object with only the dlpack interface.
118 class DLPackObject:
119 pass
120
121 o = DLPackObject()
122 o.__dlpack__ = ttensor.__dlpack__

Callers 1

Calls

no outgoing calls

Tested by 1