Proc
Applicability
Product |
Supported |
|---|---|
√ |
|
√ |
|
x |
|
x |
|
x |
Function Description
Defines the user-defined FlowFunc processing function.
Prototype
1 | int32_t Proc(const std::vector<std::shared_ptr<FlowMsg>> &inputMsgs) |
Command-Line Options
Parameter |
Input/Output |
Description |
|---|---|---|
inputMsgs |
Input |
Input parameter list of the operator. |
Returns
- 0: success
- Other values: failure. For details, see UDF Error Codes.
Troubleshooting
If an unrecoverable exception occurs, ERROR is returned. In other cases, call SetRetcode to set the error code of the output tensor. If SUCCESS is returned, the scheduling is terminated.
Constraints
None
Parent topic: GetDataBufferSize