SetConstData

Description

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

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.

Returns

None.

Exception Handling

None.

Restrictions

None.