TensorRT 8.6.1
NvUtils.h File Reference
#include "NvInfer.h"

Go to the source code of this file.


namespace  nvinfer1
 The TensorRT API version 1 namespace.
namespace  nvinfer1::utils


TRT_DEPRECATED bool nvinfer1::utils::reshapeWeights (Weights const &input, int32_t const *shape, int32_t const *shapeOrder, void *data, int32_t nbDims) noexcept
 Reformat the input weights of the given shape based on the new order of dimensions. More...
TRT_DEPRECATED bool nvinfer1::utils::reorderSubBuffers (void *input, int32_t const *order, int32_t num, int32_t size) noexcept
 Takes an input stream and re-orders num chunks of the data given the size and order. More...
TRT_DEPRECATED bool nvinfer1::utils::transposeSubBuffers (void *input, DataType type, int32_t num, int32_t height, int32_t width) noexcept
 Transpose num sub-buffers of height * width. More...

Detailed Description

This file includes various utility functions