Function executorch_sys::torch::executor::Method_set_inputs

source ยท
pub unsafe extern "C" fn Method_set_inputs(
    this: *mut Method,
    input_evalues: *const ArrayRef<EValue>,
) -> Error
Expand description

Sets the values of all method inputs.

See set_input() for a more detailed description of the behavior.

@param[in] input_evalues The new values for all of the method inputs. The type of each element must match the type of corresponding input. If the value of an element is a tensor, attempts to allow dynamic shape, but the dtype must always agree.

@returns Error::Ok on success, non-Ok on failure.