|
void | setWeights (Weights weights) noexcept |
| 设置层的权重。更多...
|
|
Weights | getWeights () const noexcept |
| 获取层的权重。更多...
|
|
void | setDimensions (Dims const &dimensions) noexcept |
| 设置层的维度。更多...
|
|
Dims | getDimensions () const noexcept |
| 获取层的维度。更多...
|
|
LayerType | getType () const noexcept |
| 返回层的类型。更多...
|
|
void | setName (char const *name) noexcept |
| 设置层的名称。更多...
|
|
char const * | getName () const noexcept |
| 返回层的名称。更多...
|
|
int32_t | getNbInputs () const noexcept |
| 获取层的输入数量。更多...
|
|
ITensor * | getInput (int32_t index) const noexcept |
| 获取与给定索引对应的层输入。更多...
|
|
int32_t | getNbOutputs () const noexcept |
| 获取层的输出数量。更多...
|
|
ITensor * | getOutput (int32_t index) const noexcept |
| 获取与给定索引对应的层输出。更多...
|
|
void | setInput (int32_t index, ITensor &tensor) noexcept |
| 用特定的张量替换此层的输入。更多...
|
|
void | setPrecision (DataType dataType) noexcept |
| 在弱类型网络中,设置此层的首选或必需的计算精度。更多...
|
|
DataType | getPrecision () const noexcept |
| 获取此层的计算精度更多...
|
|
bool | precisionIsSet () const noexcept |
| 是否已为此层设置计算精度更多...
|
|
void | resetPrecision () noexcept |
| 重置此层的计算精度更多...
|
|
void | setOutputType (int32_t index, DataType dataType) noexcept |
| 在弱类型网络中,设置此层的输出类型。更多...
|
|
DataType | getOutputType (int32_t index) const noexcept |
| 获取此层的输出类型更多...
|
|
bool | outputTypeIsSet (int32_t index) const noexcept |
| 是否已为此层设置输出类型更多...
|
|
void | resetOutputType (int32_t index) noexcept |
| 重置此层的输出类型更多...
|
|
void | setMetadata (char const *metadata) noexcept |
| 设置此层的元数据。更多...
|
|
char const * | getMetadata () const noexcept |
| 获取层的元数据。更多...
|
|