CreateMultiFunc

Applicability

Product

Supported

Atlas A3 training products/Atlas A3 inference products

Atlas A2 training products/Atlas A2 inference products

Atlas 200I/500 A2 inference products

x

Atlas inference products

x

Atlas training products

x

Function Description

Creates the multi-func processing object and processing function. This command is internally called by the function. You are advised not to use it directly.

Prototype

This function is used when a common FlowFunc processing object and processing function are created, that is, when the FlowFunc input is flowMsg.

1
2
int32_t CreateMultiFunc(std::shared_ptr<MetaMultiFunc> &multiFunc,
std::map<AscendString, PROC_FUNC_WITH_CONTEXT> &procFuncMap) const

Command-Line Options

Parameter

Input/Output

Description

multiFunc

Output

Multi-func instance object

procFuncMap

Output

Multi-func processing function

Returns

  • FLOW_FUNC_SUCCESS: success
  • Other values: failure

Troubleshooting

None

Constraints

None