Function executorch_sys::torch::executor::Program_get_method_name

source ยท
pub unsafe extern "C" fn Program_get_method_name(
    this: *const Program,
    method_index: usize,
) -> Result<*const c_char>
Expand description

Returns the name of the method at particular index.

@param[in] method_index The index of the method name to retrieve. Must be less than the value returned by num_methods().

@returns The name of the requested method. The pointer is owned by the Program, and has the same lifetime as the Program.