SetPlacement
Function Usage
Sets the position for storing tensor data.
Prototype
1 | graphStatus SetPlacement(const ge::Placement &placement) |
Parameters
Parameter |
Input/Output |
Description |
||
|---|---|---|---|---|
placement |
Input |
Value of the data address to be set. The enumerated values are defined as follows:
|
Returns
graphStatus type. GRAPH_SUCCESS on success; GRAPH_FAILED on failure.
Exception Handling
None
Constraints
None
Parent topic: Tensor