asc2.Platform

class asc2.Platform(*values)

Ascend NPU platform types.

This enum defines the supported Ascend chip variants for kernel compilation and execution. Each platform has specific hardware characteristics that affect code generation and optimization.

__init__(*args, **kwds)

Attributes

Ascend910B1

Ascend910B2

Ascend910B2C

Ascend910B3

Ascend910B4

Ascend910B4_1

Ascend910_9362

Ascend910_9372

Ascend910_9381

Ascend910_9382

Ascend910_9391

Ascend910_9392

Ascend910_9579

Ascend910_9589

Ascend910_9599

Ascend950PR_950z

Ascend950PR_9579

Ascend950PR_957b

Ascend950PR_957c

Ascend950PR_957d

Ascend950PR_9589

Ascend950PR_958b

Ascend950PR_9599