ScalarList

Function Usage

After this parameter is set, the input type of the automatically generated single-operator API (aclnnxxx) is aclScalarList.

This parameter can be configured only for operator inputs.

This API is supported only in the following scenarios:

  • Develop a single-operator calling application by executing single-operator APIs.
  • Indirectly call a single-operator API (aclnnxxx): single-operator calling in the PyTorch framework.

Prototype

OpParamDef &ScalarList();

Parameters

None

Returns

OpParamDef operator definition. For details, see OpParamDef.

Constraints

None

Example

this->Input("x")
    .ScalarList()