目录

SetConstData

Function Description

Sets the weight value in TensorDesc if TensorDesc is the description of a constant node.

Function Prototype

void SetConstData(std::unique_ptr<uint8_t[]> const_data_buffer, const size_t &const_data_len);

Parameters

Parameter Input/Output Description
const_data_buffer Input Weight address.
const_data_len Input Weight length.

Return Value

None

Exception Handling

None

Restrictions

None