Update

Description

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

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 updated.

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.

Returns

None

Exception Handling

None

Restrictions

None