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

Method addScaleNd

include/NvInfer.h:7857–7861  ·  view source on GitHub ↗

\brief Add a multi-dimension scale layer to the network. \param input The input tensor to the layer. \param mode The scaling mode. \param shift The shift value. \param scale The scale value. \param power The power value. \param channelAxis The channel axis. If the weights are available, then the size of weights are dependent on the ScaleMode. For ScaleMode::kUNIFORM, the number of weights equals

Source from the content-addressed store, hash-verified

7855 //! \return The new Scale layer, or nullptr if it could not be created.
7856 //!
7857 IScaleLayer* addScaleNd(
7858 ITensor& input, ScaleMode mode, Weights shift, Weights scale, Weights power, int32_t channelAxis) noexcept
7859 {
7860 return mImpl->addScaleNd(input, mode, shift, scale, power, channelAxis);
7861 }
7862
7863 //! \brief Add a resize layer to the network.
7864 //!

Callers 1

pyGraph.cppFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected