GetAllRegisteredOpTypesV2

Description

Obtains the information about all operator types that have registered the AI CPU operator kernel in the V2 registry.

Prototype

std::vector<std::string> GetAllRegisteredOpTypesV2() const

Parameters

None

Returns

std::vector <std::string> type.

Restrictions

  • Only the operator types in the V2 registry are returned. The operator types registered only in the V1 registry are not returned.

Example

std::vector<std::string> op_types = CpuKernelRegister::Instance().GetAllRegisteredOpTypesV2();