| 136 | } |
| 137 | |
| 138 | daliResult_t daliTensorResize( |
| 139 | daliTensor_h tensor, |
| 140 | int ndim, |
| 141 | const int64_t *shape, |
| 142 | daliDataType_t dtype, |
| 143 | const char *layout) { |
| 144 | DALI_PROLOG(); |
| 145 | auto *ptr = ToPointer(tensor); |
| 146 | ptr->Resize(ndim, shape, dtype, layout); |
| 147 | DALI_EPILOG(); |
| 148 | } |
| 149 | |
| 150 | daliResult_t daliTensorGetBufferPlacement( |
| 151 | daliTensor_h tensor, |