Table of Contents

Class TensorRtDependencyProbeReport

Namespace
JYPPX.TensorRtSharp
Assembly
JYPPX.TensorRtSharp.dll

Non-throwing diagnostic report for native bridge, TensorRT, parser, CUDA, and cuDNN dependency resolution. 用于 native bridge、TensorRT、parser、CUDA 与 cuDNN 依赖解析的非抛异常诊断报告。

public sealed class TensorRtDependencyProbeReport
Inheritance
TensorRtDependencyProbeReport
Inherited Members

Properties

BridgeDiagnostic

Gets the bridge loader diagnostic message. 获取 bridge loader 的诊断消息。

public string BridgeDiagnostic { get; }

Property Value

string

BridgeInitialized

Gets whether the managed native bridge loader initialized successfully. 获取托管 native bridge loader 是否已成功初始化。

public bool BridgeInitialized { get; }

Property Value

bool

Diagnostics

Gets non-fatal diagnostics collected while probing modules and directories. 获取探测模块和目录时收集的非致命诊断信息。

public IReadOnlyList<string> Diagnostics { get; }

Property Value

IReadOnlyList<string>

Line

Gets the TensorRT API line used to choose expected TensorRT DLL names. 获取用于选择预期 TensorRT DLL 名称的 TensorRT API line。

public TensorRtApiLine Line { get; }

Property Value

TensorRtApiLine

LoadedModuleCount

Gets the number of matching loaded modules. 获取匹配的已加载模块数量。

public int LoadedModuleCount { get; }

Property Value

int

LoadedModules

Gets matching modules that are already loaded in the current process. 获取当前进程中已经加载的匹配模块。

public IReadOnlyList<TensorRtNativeDependencyInfo> LoadedModules { get; }

Property Value

IReadOnlyList<TensorRtNativeDependencyInfo>

NativeBridgeCandidates

Gets native bridge candidate paths produced by the same resolver used for DllImport loading. 获取由 DllImport 加载使用的同一 resolver 生成的 native bridge 候选路径。

public IReadOnlyList<TensorRtNativeDependencyInfo> NativeBridgeCandidates { get; }

Property Value

IReadOnlyList<TensorRtNativeDependencyInfo>

SearchPathCandidateCount

Gets the number of matching search-path candidates. 获取匹配的搜索路径候选项数量。

public int SearchPathCandidateCount { get; }

Property Value

int

SearchPathCandidates

Gets matching dependency DLLs found on the current process search path. 获取在当前进程搜索路径上找到的匹配依赖 DLL。

public IReadOnlyList<TensorRtNativeDependencyInfo> SearchPathCandidates { get; }

Property Value

IReadOnlyList<TensorRtNativeDependencyInfo>

Methods

ToString()

Formats the dependency probe report for diagnostics. 将依赖探针报告格式化为便于诊断的字符串。

public override string ToString()

Returns

string