TensorRT 10.0.0
NvInferRuntimePlugin.h File Reference

Go to the source code of this file.

Classes

struct  nvinfer1::PluginTensorDesc
 Fields that a plugin might see for an input or output. More...
 
class  nvinfer1::IPluginV2
 Plugin class for user-implemented layers. More...
 
class  nvinfer1::IPluginV2Ext
 Plugin class for user-implemented layers. More...
 
class  nvinfer1::IPluginV2IOExt
 Plugin class for user-implemented layers. More...
 
class  nvinfer1::PluginField
 Structure containing plugin attribute field names and associated data This information can be parsed to decode necessary plugin metadata. More...
 
struct  nvinfer1::PluginFieldCollection
 Plugin field collection struct. More...
 
class  nvinfer1::v_1_0::IPluginCreatorInterface
 
class  nvinfer1::v_1_0::IPluginCreator
 

Namespaces

namespace  nvinfer1
 The TensorRT API version 1 namespace.
 
namespace  nvinfer1::v_1_0
 Forward declare IErrorRecorder for use in other interfaces.
 

Typedefs

using nvinfer1::PluginFormat = TensorFormat
 PluginFormat is reserved for backward compatibility. More...
 
using nvinfer1::IPluginCreatorInterface = v_1_0::IPluginCreatorInterface
 
using nvinfer1::IPluginCreator = v_1_0::IPluginCreator
 

Enumerations

enum class  nvinfer1::PluginVersion : uint8_t {
  nvinfer1::kV2 = 0 , nvinfer1::kV2_EXT = 1 , nvinfer1::kV2_IOEXT = 2 , nvinfer1::kV2_DYNAMICEXT = 3 ,
  nvinfer1::kV2_DYNAMICEXT_PYTHON = kPLUGIN_VERSION_PYTHON_BIT | 3
}
 
enum class  nvinfer1::PluginCreatorVersion : int32_t { nvinfer1::kV1 = 0 , nvinfer1::kV1_PYTHON = kPLUGIN_VERSION_PYTHON_BIT }
 Enum to identify version of the plugin creator. More...
 
enum class  nvinfer1::PluginFieldType : int32_t {
  nvinfer1::kFLOAT16 = 0 , nvinfer1::kFLOAT32 = 1 , nvinfer1::kFLOAT64 = 2 , nvinfer1::kINT8 = 3 ,
  nvinfer1::kINT16 = 4 , nvinfer1::kINT32 = 5 , nvinfer1::kCHAR = 6 , nvinfer1::kDIMS = 7 ,
  nvinfer1::kUNKNOWN = 8 , nvinfer1::kBF16 = 9 , nvinfer1::kINT64 = 10 , nvinfer1::kFP8 = 11
}
 The possible field types for custom layer. More...
 
enum class  nvinfer1::PluginCapabilityType : int32_t { nvinfer1::kCORE = 0 , nvinfer1::kBUILD = 1 , nvinfer1::kRUNTIME = 2 }
 Enumerates the different capability types a IPluginV3 object may have. More...
 
enum class  nvinfer1::TensorRTPhase : int32_t { nvinfer1::kBUILD = 0 , nvinfer1::kRUNTIME = 1 }
 Indicates a phase of operation of TensorRT. More...
 

Detailed Description

This file contains common definitions, data structures and interfaces that relate to plugins and are shared between the standard and safe runtime.

Warning
Do not directly include this file. Instead include either NvInferRuntime.h (for the standard runtime) or NvInferSafeRuntime.h (for the safety runtime).