\brief Add a Scale layer to the network. \param input The input tensor to the layer. This tensor is required to have a minimum of 3 dimensions in implicit batch mode and a minimum of 4 dimensions in explicit batch mode. \param mode The scaling mode. \param shift The shift value. \param scale The scale value. \param power The power value. If the weights are available, then the size of weights are
| 7047 | //! \return The new Scale layer, or nullptr if it could not be created. |
| 7048 | //! |
| 7049 | IScaleLayer* addScale(ITensor& input, ScaleMode mode, Weights shift, Weights scale, Weights power) noexcept |
| 7050 | { |
| 7051 | return mImpl->addScale(input, mode, shift, scale, power); |
| 7052 | } |
| 7053 | |
| 7054 | //! |
| 7055 | //! \brief Add a SoftMax layer to the network. |
no outgoing calls
no test coverage detected