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

Method setAxis

include/NvInfer.h:5563–5566  ·  view source on GitHub ↗

\brief Set where to insert the contenation axis. Ignored if getLoopOutput() is kLAST_VALUE. For example, if the input tensor has dimensions [b,c,d], and getLoopOutput() is kCONCATENATE, the output has four dimensions. Let a be the value of the second input. setAxis(0) causes the output to have dimensions [a,b,c,d]. setAxis(1) causes the output to have dimensions [b,a,c,d]. setAxis(2) causes the

Source from the content-addressed store, hash-verified

5561 //! Default is axis is 0.
5562 //!
5563 void setAxis(int32_t axis) noexcept
5564 {
5565 mImpl->setAxis(axis);
5566 }
5567
5568 //! Get axis being concatenated over.
5569 int32_t getAxis() const noexcept

Callers

nothing calls this directly

Calls 1

setAxisMethod · 0.45

Tested by

no test coverage detected