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

Function daliTensorListIncRef

dali/c_api_2/data_objects.cc:275–282  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

273}
274
275daliResult_t daliTensorListIncRef(daliTensorList_h tl, int *new_ref) {
276 DALI_PROLOG();
277 auto *ptr = ToPointer(tl);
278 int r = ptr->IncRef();
279 if (new_ref)
280 *new_ref = r;
281 DALI_EPILOG();
282}
283
284daliResult_t daliTensorListDecRef(daliTensorList_h tl, int *new_ref) {
285 DALI_PROLOG();

Callers 1

TESTFunction · 0.85

Calls 2

IncRefMethod · 0.80
ToPointerFunction · 0.70

Tested by 1

TESTFunction · 0.68