Function nvcvTensorGetLayout

Function Documentation

NVCVStatus nvcvTensorGetLayout(NVCVTensorHandle handle, NVCVTensorLayout *layout)

Get the tensor layout

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

    • Must not be NULL.

  • layout[out] Where the tensor layout will be written to.

    • Must not be NULL.

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

  • NVCV_SUCCESS – Operation executed successfully.