---
title: 函数：unregister_compile_func
description: "| C函数原型 | aclError aclopUnregisterCompileFunc(const char \\*opType) |"
url: "https://www.hiascend.com/document/detail/zh/Atlas200IDKA2DeveloperKit/23.0.RC2/Application%20Development%20Guide/aadgp/aclpythondevg_01_0801.html"
---

# 函数：unregister_compile_func

| C函数原型 | aclError aclopUnregisterCompileFunc(const char \*opType) |
| --- | --- |
| Python函数 | ret = acl.op.unregister\_compile\_func(op\_type) |
| 函数功能 | 动态Shape场景下，取消注册算子选择器。 |
| 输入说明 | op\_type：str，算子类型。 |
| 返回值说明 | ret：int，错误码。 返回0表示成功。 返回其它值表示失败。 |
| 约束说明 | 无 |
