GetTensorDesc

Description

Obtains the descriptor of a tensor: TensorDesc.

Prototype

TensorDesc GetTensorDesc() const

Parameters

None

Returns

Descriptor of the current tensor, which is of the TensorDesc type.

Exception Handling

None

Restrictions

This API modifies the returned TensorDesc, which does not affect the existing TensorDesc information in the Tensor object.