目录

SetPlacement

Function Description

Sets the position for storing tensor data.

Function Prototype

graphStatus SetPlacement(const ge::Placement &placement);

Parameters

Parameter Input/Output Description
placement Input Value of the data address to be set.

Return Value

Type Description
graphStatus Returns GRAPH_SUCCESS upon success. Otherwise, GRAPH_FAILED is returned.

Exception Handling

None

Restrictions

None