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

Function daliTensorListGetByteSize

dali/c_api_2/data_objects.cc:414–422  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

412}
413
414daliResult_t daliTensorListGetByteSize(
415 daliTensorList_h tensor_list,
416 size_t *out_size) {
417 DALI_PROLOG();
418 auto *ptr = ToPointer(tensor_list);
419 CHECK_OUTPUT(out_size);
420 *out_size = ptr->GetByteSize();
421 DALI_EPILOG();
422}
423
424daliResult_t daliTensorListGetDType(
425 daliTensorList_h tensor_list,

Callers 2

TestTensorListResizeFunction · 0.85
ComputeImplMethod · 0.85

Calls 2

ToPointerFunction · 0.70
GetByteSizeMethod · 0.45

Tested by 1

TestTensorListResizeFunction · 0.68