void SetInput(uint32_t index, Tensor *tensor) noexcept
函数功能
设置特定index的输入tensor。
函数原型
void SetInput(uint32_t index, Tensor *tensor) noexcept;
参数说明
参数名 |
输入/输出 |
说明 |
---|---|---|
index |
输入 |
输入的索引。 |
tensor |
输入 |
要设置的tensor。 |
返回值说明
无
父主题: class BaseLayer