SetShape

Function Usage

Sets the shape of a tensor into TensorDesc.

Prototype

1
void SetShape(const Shape &shape)

Parameters

Parameter

Input/Output

Description

shape

Input

Shape object to be set into TensorDesc.

Returns

None

Exception Handling

None

Constraints

None