Reshape
Description
Changes the shape of the input tensor.
Definition
1 | virtual Status Reshape (const std::string &srcTensorName, const ReshapeFunc &reshapeFunc, const std::string &viewTensorName)=0 |
Members
Member |
Description |
|---|---|
srcTensorName |
Name of the input tensor |
reshapeFunc |
Shape modification rule |
viewTensorName |
Name of the tensor whose shape is modified |
Returns
Status. If the setting is successful, NO_ERROR is returned.
Parent topic: GraphOpBuilder