GetDynamicOutputNum
Description
Obtains the actual number of dynamic outputs of an operator.
Prototype
APIs using strings will be deprecated in later versions. Use APIs supporting non-string data instead.
int32_t GetDynamicOutputNum(const std::string &name) const
int32_t GetDynamicOutputNum(const char_t *name) const
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
name |
Input |
Dynamic output name of the operator. |
Returns
Actual number of dynamic outputs.
If name is invalid or the operator has no dynamic output, 0 is returned.
Restrictions
None
Parent topic: Operator