Function nvcvTensorBatchGetLayout

Function Documentation

NVCVStatus nvcvTensorBatchGetLayout(NVCVTensorBatchHandle handle, NVCVTensorLayout *outLayoutPtr)

Returns the layout of the Tensor batch handle.

Returns the empty layout for empty batches.

Parameters:
  • handle[in] Tensor batch to be queried.

  • outDTypePtr[in] Pointer to where the layout will be stored.

    • Cannot be NULL.

Return values:
  • NVCV_ERROR_INVALID_ARGUMENT – Some parameter is outside valid range.

  • NVCV_SUCCESS – Operation executed successfully.