Sets the operator compilation mode, either non-fuzzy compilation or fuzzy compilation. This setting takes effect globally at the process level.
In non-fuzzy compilation mode, the system performs compilation based on the user-defined shape without any escape. However, this flag is invalid for AI CPU operators.
In fuzzy compilation mode, the system generalizes the runtime dimensions of dynamic-shape operators before compilation.
aclError aclopSetCompileFlag(aclOpCompileFlag flag)
Parameter |
Input/Output |
Description |
|---|---|---|
flag |
Input |
Compilation mode flag, either non-fuzzy compilation or fuzzy compilation. Defaults to the non-fuzzy compilation mode. |
0 on success; else, failure.