RegisterFlowFunc

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

Registers FlowFunc.

You are advised to use MetaFlowFunc registration function macro to register FlowFunc.

Prototype

1
FLOW_FUNC_VISIBILITY bool RegisterFlowFunc(const char *flowFuncName, const FLOW_FUNC_CREATOR_FUNC &func) noexcept

Command-Line Options

Parameter

Input/Output

Description

flowFuncName

Input

Name of FlowFunc. The value cannot be NULL and must end with \0.

func

Input

Creation function of FlowFunc.

Returns

  • true
  • false

Troubleshooting

None

Constraints

None