SetName
Function Usage
Sets the name of a tensor into TensorDesc.
Prototype
APIs taking string arguments will be deprecated in future releases. Use APIs taking non-string arguments instead.
1 2 | void SetName(const std::string &name) void SetName(const char_t *name) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
name |
Input |
Tensor name to be set. |
Returns
None
Exception Handling
None
Constraints
None
Parent topic: TensorDesc