Inputs
Function Usage
Sets vectors of the void* pointer to the inputs of KernelContext.
Prototype
ContextBuilder &Inputs(std::vector<void *> inputs);
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
inputs |
Input |
Saves the input vectors of the void* pointer. |
Returns
Object of the current ContextBuilder
Constraints
None
Example
PlatformInfo platformInfo;
auto contextBuilder = context_ascendc::ContextBuilder().Inputs({nullptr, reintrerpret_cast<void *>(&platformInfo)});
Parent topic: ContextBuilder