MCPcopy Create free account
hub / github.com/NVIDIA/DALI / daliTensorListDecRef

Function daliTensorListDecRef

dali/c_api_2/data_objects.cc:284–291  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

282}
283
284daliResult_t daliTensorListDecRef(daliTensorList_h tl, int *new_ref) {
285 DALI_PROLOG();
286 auto *ptr = ToPointer(tl);
287 int r = ptr->DecRef();
288 if (new_ref)
289 *new_ref = r;
290 DALI_EPILOG();
291}
292
293daliResult_t daliTensorListRefCount(daliTensorList_h tl, int *ref) {
294 DALI_PROLOG();

Callers 1

TESTFunction · 0.85

Calls 2

DecRefMethod · 0.80
ToPointerFunction · 0.70

Tested by 1

TESTFunction · 0.68