get_plugin

Applicability

Product

Supported

Atlas 350 Accelerator Card

Atlas A3 training product/Atlas A3 inference product

Atlas A2 training product/Atlas A2 inference product

Atlas 200I/500 A2 inference product

Atlas inference product

Atlas training product

Function Usage

Obtains the plugin module with the specified name.

Prototype

1
get_plugin(plugin_name: str) -> Union[ModuleType, None]

Parameters

Parameter

Input/Output

Description

plugin_name

Input

Plug-in name (for example, math or nn).

Returns

(ModuleType | None) Plug-in module object. None is returned if the object is not found.

Restrictions

None