\brief Add a constant layer to the network. \param dimensions The dimensions of the constant. \param weights The constant value, represented as weights. \see IConstantLayer \return The new constant layer, or nullptr if it could not be created. If weights.type is DataType::kINT32, the output is a tensor of 32-bit indices. Otherwise the output is a tensor of real values and the output type will
| 7469 | //! \warning DataType::kUINT8 not supported. |
| 7470 | //! |
| 7471 | IConstantLayer* addConstant(Dims dimensions, Weights weights) noexcept |
| 7472 | { |
| 7473 | return mImpl->addConstant(dimensions, weights); |
| 7474 | } |
| 7475 | |
| 7476 | //! |
| 7477 | //! \brief Add an \p layerCount deep RNN layer to the network with \p hiddenSize internal states that can |
no outgoing calls
no test coverage detected