\brief Add an activation layer to the network. \param input The input tensor to the layer. \param type The type of activation function to apply. Note that the setAlpha() and setBeta() methods must be used on the output for activations that require these parameters. \see IActivationLayer ActivationType \warning Int32 tensors are not valid input tensors. \return The new activation layer, or null
| 6982 | //! \return The new activation layer, or nullptr if it could not be created. |
| 6983 | //! |
| 6984 | IActivationLayer* addActivation(ITensor& input, ActivationType type) noexcept |
| 6985 | { |
| 6986 | return mImpl->addActivation(input, type); |
| 6987 | } |
| 6988 | |
| 6989 | //! |
| 6990 | //! \brief Add a pooling layer to the network. |
no outgoing calls
no test coverage detected