rmlGetTensorInfo

Returns a tensor information.

rml_status rmlGetTensorInfo(

rml_tensor tensor,

const rml_tensor_info* info);

API

Main

Parameters

Parameter

Input/Output

Description

tensor

input

A valid tensor handle.

info

output

A pointer to a resulting info structure.

Return and Status Codes

Returns tensor information in case of success and status:

  • RML_OK if the operation is successful

  • RML_ERROR_BAD_PARAMETER if tensor is invalid or info is NULL

To get more details in case of failure, call rmlGetLastError().