HostInputs
Description
If scalar inputs exist in operator inputs, the host address needs to be passed. This API is used to specify the index of the input address of an operator acting as the host address.
Prototype
OpImplRegisterV2 &HostInputs(std::initializer_list<int32_t> inputs)
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
inputs |
Input |
List of input indexes. For example, inputs={0, 3} indicates that the addresses of input 0 and input 3 are host addresses. |
Returns
OpImplRegisterV2 object of the operator, where the index of the input address of an operator acting as the host address is registered.
Restrictions
None
Parent topic: OpImplRegisterV2