TensorRT 10.8.0
|
命名空间 | |
namespace | nvinfer1 |
TensorRT API 版本 1 命名空间。 | |
namespace | nvinfer1::impl |
namespace | nvinfer1::v_1_0 |
前向声明 IErrorRecorder,以便在其他接口中使用。 | |
namespace | nvinfer1::v_2_0 |
namespace | nvinfer1::anonymous_namespace{NvInferRuntime.h} |
宏 | |
#define | NV_INFER_INTERNAL_INCLUDE 1 |
#define | REGISTER_TENSORRT_PLUGIN(name) static nvinfer1::PluginRegistrar<name> pluginRegistrar##name {} |
类型定义 | |
using | nvinfer1::IStreamReader = v_1_0::IStreamReader |
using | nvinfer1::IStreamReaderV2 = v_1_0::IStreamReaderV2 |
using | nvinfer1::IPluginV3OneCore = v_1_0::IPluginV3OneCore |
using | nvinfer1::IPluginV3OneBuild = v_1_0::IPluginV3OneBuild |
using | nvinfer1::IPluginV3OneRuntime = v_1_0::IPluginV3OneRuntime |
using | nvinfer1::IPluginV3OneBuildV2 = v_2_0::IPluginV3OneBuild |
using | nvinfer1::IProfiler = v_1_0::IProfiler |
using | nvinfer1::TempfileControlFlags = uint32_t |
表示使用按位 OR 运算组合的一个或多个 TempfileControlFlag 值的集合。 更多... | |
using | nvinfer1::AllocatorFlags = uint32_t |
using | nvinfer1::IGpuAllocator = v_1_0::IGpuAllocator |
using | nvinfer1::TacticSources = uint32_t |
表示使用按位 OR 运算组合的一个或多个 TacticSource 值的集合。 更多... | |
using | nvinfer1::SerializationFlags = uint32_t |
表示使用二进制 OR 运算的一个或多个 SerializationFlag 值,例如,1U << SerializationFlag::kEXCLUDE_LEAN_RUNTIME。 更多... | |
using | nvinfer1::IOutputAllocator = v_1_0::IOutputAllocator |
using | nvinfer1::IDebugListener = v_1_0::IDebugListener |
using | nvinfer1::IGpuAsyncAllocator = v_1_0::IGpuAsyncAllocator |
using | nvinfer1::IPluginCreatorV3One = v_1_0::IPluginCreatorV3One |
函数 | |
template<> | |
constexpr int32_t | nvinfer1::EnumMax< DimensionOperation > () noexcept |
DimensionOperation 枚举中元素的最大数量。 更多... | |
template<> | |
constexpr int32_t | nvinfer1::EnumMax< WeightsRole > () noexcept |
WeightsRole 枚举中元素的最大数量。 更多... | |
template<> | |
constexpr int32_t | nvinfer1::EnumMax< DeviceType > () noexcept |
DeviceType 枚举中元素的最大数量。 更多... | |
template<> | |
constexpr int32_t | nvinfer1::EnumMax< TempfileControlFlag > () noexcept |
TempfileControlFlag 枚举中元素的最大数量。 更多... | |
template<> | |
constexpr int32_t | nvinfer1::EnumMax< OptProfileSelector > () noexcept |
OptProfileSelector 枚举的不同值的数量。 更多... | |
template<> | |
constexpr int32_t | nvinfer1::EnumMax< TacticSource > () noexcept |
TacticSource 枚举中策略来源的最大数量。 更多... | |
template<> | |
constexpr int32_t | nvinfer1::EnumMax< ProfilingVerbosity > () noexcept |
ProfilingVerbosity 枚举中配置文件详细程度级别的最大数量。 更多... | |
template<> | |
constexpr int32_t | nvinfer1::EnumMax< SerializationFlag > () noexcept |
SerializationFlag 枚举中序列化标志的最大数量。 更多... | |
template<> | |
constexpr int32_t | nvinfer1::EnumMax< ExecutionContextAllocationStrategy > () noexcept |
ExecutionContextAllocationStrategy 枚举中内存分配策略的最大数量。 更多... | |
template<> | |
constexpr int32_t | nvinfer1::EnumMax< LayerInformationFormat > () noexcept |
nvinfer1::IPluginRegistry * | getPluginRegistry () noexcept |
返回插件注册表。 更多... | |
nvinfer1::ILogger * | getLogger () noexcept |
返回 logger 对象。 更多... | |
IRuntime * | nvinfer1::anonymous_namespace{NvInferRuntime.h}::createInferRuntime (ILogger &logger) noexcept |
创建 IRuntime 类的实例。 更多... | |
IRefitter * | nvinfer1::anonymous_namespace{NvInferRuntime.h}::createInferRefitter (ICudaEngine &engine, ILogger &logger) noexcept |
创建 IRefitter 类的实例。 更多... | |
int32_t | getInferLibMajorVersion () noexcept |
返回库主版本号。 更多... | |
int32_t | getInferLibMinorVersion () noexcept |
返回库次版本号。 更多... | |
int32_t | getInferLibPatchVersion () noexcept |
返回库补丁版本号。 更多... | |
int32_t | getInferLibBuildVersion () noexcept |
返回库构建版本号。 更多... | |
这是 TensorRT 扩展运行时库的顶层 API 文件。
#define NV_INFER_INTERNAL_INCLUDE 1 |
#define REGISTER_TENSORRT_PLUGIN | ( | name | ) | static nvinfer1::PluginRegistrar<name> pluginRegistrar##name {} |
|
noexcept |
返回库构建版本号。
|
noexcept |
返回库主版本号。
|
noexcept |
返回库次版本号。
|
noexcept |
返回库补丁版本号。
|
noexcept |
返回 logger 对象。
|
noexcept |
返回插件注册表。
Copyright © 2024 NVIDIA Corporation
隐私政策 | 管理我的隐私 | 请勿出售或分享我的数据 | 服务条款 | 辅助功能 | 公司政策 | 产品安全 | 联系我们