| 104 | } |
| 105 | |
| 106 | daliResult_t daliTensorDecRef(daliTensor_h t, int *new_ref) { |
| 107 | DALI_PROLOG(); |
| 108 | auto *ptr = ToPointer(t); |
| 109 | int r = ptr->DecRef(); |
| 110 | if (new_ref) |
| 111 | *new_ref = r; |
| 112 | DALI_EPILOG(); |
| 113 | } |
| 114 | |
| 115 | daliResult_t daliTensorRefCount(daliTensor_h t, int *ref) { |
| 116 | DALI_PROLOG(); |