SetName
Description
Sets the name of a tensor into TensorDesc.
Prototype
APIs using strings will be deprecated in later versions. Use APIs supporting non-string data instead.
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.
Restrictions
None.
Parent topic: TensorDesc