DataType

Function

Defines the operator parameter data type.

Prototype

1
OpParamDef &DataType(std::vector<ge::DataType> types)

Parameters

Parameter

Input/Output

Description

types

Input

Data type of the operator parameter. For details about ge::DataType, see ge:DataType.

Returns

OpParamDef operator definition. For details, see OpParamDef.

Constraints

None