Function ov_tensor_create_from_string_array

Source
pub unsafe fn ov_tensor_create_from_string_array(
    string_array: *mut *const c_char,
    array_size: usize,
    shape: ov_shape_t,
    tensor: *mut *mut ov_tensor_t,
) -> ov_status_e
Expand description

@brief Constructs a new tensor using a string array. @ingroup ov_tensor_c_api @param string_array An array of strings @param array_size The size of the string array @param shape Tensor shape @param tensor A point to ov_tensor_t @return Status code of the operation: OK(0) for success.