DFX_IN

Function Usage

Encapsulates the input parameters of L2 first-phase API aclnnXxxGetWorkspaceSize.

Prototype

DFX_IN(....)

Parameters

Parameter

Input/Output

Description

Variable-length parameters

Input

Input parameters of the L2 first-phase API on the host.

Constraints

None

Example

1
2
// Input parameters of the add operator. There are three input parameters: self, other, and alpha.
DFX_IN(self, other, alpha);