MCPcopy Create free account
hub / github.com/NVIDIA/TensorRT / addDequantize

Method addDequantize

include/NvInfer.h:8076–8079  ·  view source on GitHub ↗

\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

Source from the content-addressed store, hash-verified

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.

Callers 1

pyGraph.cppFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected