Reserved APIs

The APIs described in this section are reserved and may be changed or deprecated in the future. They do not need your attention.

Table 1 API list

API

Description

ToDataType(const std::string &dataTypeStr)

Converts the given string to op::DataType (that is, ge::DataType).

CalcShapeBytes(int64_t size, DataType dataType, bool ceil=false)

Calculates the total size based on the given shape size and data type.