\brief Add a dequantization layer to the network. \param input The input tensor to be quantized. \param scale A tensor with the scale value. \see IDequantizeLayer \p input tensor data type must be DataType::kFLOAT. \p scale tensor data type must be DataType::kFLOAT. The subgraph which terminates with the \p scale tensor must be a build-time constant. \return The new quantization layer, or null
| 8074 | //! \return The new quantization layer, or nullptr if it could not be created. |
| 8075 | //! |
| 8076 | IDequantizeLayer* addDequantize(ITensor& input, ITensor& scale) noexcept |
| 8077 | { |
| 8078 | return mImpl->addDequantize(input, scale); |
| 8079 | } |
| 8080 | |
| 8081 | //! |
| 8082 | //! \brief Add a Scatter layer to the network with specified mode and axis=0. |