Go to the documentation of this file.
111 const Weights& input, int32_t
const* shape, int32_t
const* shapeOrder,
void* data, int32_t nbDims) noexcept;
157 void* input, int32_t
const* order, int32_t num, int32_t size) noexcept;
173 void* input,
DataType type, int32_t num, int32_t height, int32_t width) noexcept;
The TensorRT API version 1 namespace.
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.
DataType
The type of weights and tensors.
Definition: NvInferRuntimeCommon.h:155
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.
#define TRT_DEPRECATED
< Items that are marked as deprecated will be removed in a future release.
Definition: NvInferRuntimeCommon.h:76
TRT_DEPRECATED bool reshapeWeights(const Weights &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.
Copyright © 2024 NVIDIA Corporation
Privacy Policy |
Manage My Privacy |
Do Not Sell or Share My Data |
Terms of Service |
Accessibility |
Corporate Policies |
Product Security |
Contact