目录

Update

Function Description

Updates the shape, format, and data type of a TensorDesc object.

Function Prototype

void Update(const Shape &shape, Format format = FORMAT_ND, DataType dt = DT_FLOAT);

Parameters

Parameter Input/Output Description
shape Input **shape **object to be refreshed.
format Input Format object to be updated. The default value is FORMAT_ND.
dt Input datatype object to be updated. The default value is DT_FLOAT.

Return Value

None

Exception Handling

None

Restrictions

None