目录

SetName

Function Description

Sets the tensor name in TensorDesc.

Function Prototype

APIs taking string arguments will be deprecated in future releases. Use APIs taking non-string arguments instead.

void SetName(const std::string &name);
void SetName(const char_t *name);

Parameters

Parameter Input/Output Description
name Input Returns the tensor name to be set.

Return Value

None

Exception Handling

None

Restrictions

None