Inputs
Function
Sets vectors of the void* pointer to the inputs of KernelContext.
Prototype
1 | 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
Restrictions
None
Examples
1 2 | PlatformInfo platformInfo; auto contextBuilder = context_ascendc::ContextBuilder().Inputs({nullptr, reinterpret_cast<void *>(&platformInfo)}); |
Parent topic: ContextBuilder