api_check_support
Description
Checks whether an API is supported by Ascend AI Processor. With the optional parameter dtype configured, this API checks whether the API of the dtype type is supported by Ascend AI Processor.
Prototype
def api_check_support(intrinsic, dtype="")
Parameters
Returns
True if supported; False otherwise.
Restrictions
Before calling this API, you need to call set_current_compile_soc_info to set the Ascend AI Processor type. If the type is not set, Ascend310 is used by default.
Examples
- Example of checking DSL API support
- Example of checking TIK API support
Parent topic: TBE Platform API