TensorRT  7.0.0.11
nvinfer1::Weights Class Reference

An array of weights used as a layer parameter. More...

#include <NvInferRuntime.h>

Public Attributes

DataType type
 The type of the weights.
 
const void * values
 The weight values, in a contiguous array.
 
int64_t count
 The number of weights in the array.
 

Detailed Description

An array of weights used as a layer parameter.

The weights are held by reference until the engine has been built. Therefore the data referenced by values field should be preserved until the build is complete.


The documentation for this class was generated from the following file: