\brief Set the quantization axis. Set the index of the quantization axis (with reference to the input tensor's dimensions). The axis must be a valid axis if the scale tensor has more than one coefficient. The axis value will be ignored if the scale tensor has exactly one coefficient (per-tensor quantization).
| 6087 | //! The axis value will be ignored if the scale tensor has exactly one coefficient (per-tensor quantization). |
| 6088 | //! |
| 6089 | void setAxis(int32_t axis) noexcept |
| 6090 | { |
| 6091 | mImpl->setAxis(axis); |
| 6092 | } |
| 6093 | |
| 6094 | protected: |
| 6095 | virtual ~IQuantizeLayer() noexcept = default; |