76 Weights const& input, int32_t
const* shape, int32_t
const* shapeOrder,
void* data, int32_t nbDims)
noexcept;
124 void* input, int32_t
const* order, int32_t num, int32_t size)
noexcept;
142 void* input,
DataType type, int32_t num, int32_t height, int32_t width)
noexcept;
#define TENSORRTAPI
Definition: NvInferRuntimeCommon.h:54
#define TRT_DEPRECATED
Definition: NvInferRuntimeCommon.h:40
An array of weights used as a layer parameter.
Definition: NvInferRuntime.h:126
TRT_DEPRECATED bool 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.
TRT_DEPRECATED bool transposeSubBuffers(void *input, DataType type, int32_t num, int32_t height, int32_t width) noexcept
Transpose num sub-buffers of height * width.
TRT_DEPRECATED bool 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.
The TensorRT API version 1 namespace.
DataType
The type of weights and tensors.
Definition: NvInferRuntimeCommon.h:117