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

Function daliTensorListRefCount

dali/c_api_2/data_objects.cc:293–300  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

291}
292
293daliResult_t daliTensorListRefCount(daliTensorList_h tl, int *ref) {
294 DALI_PROLOG();
295 auto *ptr = ToPointer(tl);
296 CHECK_OUTPUT(ref);
297 int r = ptr->RefCount();
298 *ref = r;
299 DALI_EPILOG();
300}
301
302daliResult_t daliTensorListAttachBuffer(
303 daliTensorList_h tensor_list,

Callers 1

TESTFunction · 0.85

Calls 2

RefCountMethod · 0.80
ToPointerFunction · 0.70

Tested by 1

TESTFunction · 0.68