pub unsafe extern "C" fn M_getDtype(
spec: *const M_TensorSpec,
) -> M_DtypeExpand description
Gets the datatype from the tensor spec.
@param spec The tensor spec.
@return The element type from the tensor spec if the tensor spec is valid.
Otherwise, M_UNKNOWN.