Skip to main content

M_getTensorSpec

Function M_getTensorSpec 

Source
pub unsafe extern "C" fn M_getTensorSpec(
    tensor: *const M_AsyncTensor,
) -> *mut M_TensorSpec
Expand description

Gets a Tensor Spec for the tensor.

@param tensor The tensor.

@return The tensor spec for the tensor if the tensor is valid. Otherwise, NULL.