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

Method getOutputDimensions

plugin/reorgPlugin/reorgPlugin.cpp:56–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54}
55
56Dims Reorg::getOutputDimensions(int32_t index, Dims const* inputs, int32_t nbInputDims) noexcept
57{
58 PLUGIN_ASSERT(nbInputDims == 1);
59 PLUGIN_ASSERT(index == 0);
60 return Dims3(inputs[0].d[0] * stride * stride, inputs[0].d[1] / stride, inputs[0].d[2] / stride);
61}
62
63int32_t Reorg::enqueue(
64 int32_t batchSize, void const* const* inputs, void* const* outputs, void* workspace, cudaStream_t stream) noexcept

Callers

nothing calls this directly

Calls 1

Dims3Class · 0.85

Tested by

no test coverage detected