DataType

Function Usage

Defines the operator parameter data types.

Prototype

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

Parameters

Parameter

Input/Output

Description

types

Input

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

Returns

OpParamDef operator definition. For details, see OpParamDef.

Constraints

None