Table of Contents

Delegate TensorRtDebugListenerHandler

Namespace
JYPPX.TensorRtSharp
Assembly
JYPPX.TensorRtSharp.dll

Handles one TensorRT debug-tensor notification using copied, pointer-free metadata. 使用复制且不含指针的元数据处理一次 TensorRT debug-tensor 通知。

public delegate bool TensorRtDebugListenerHandler(TensorRtDebugTensorMetadataSnapshot metadata)

Parameters

metadata TensorRtDebugTensorMetadataSnapshot

Copied tensor metadata. 复制出的 tensor 元数据。

Returns

bool

true on success; otherwise TensorRT receives callback failure. 成功时返回 true,否则 TensorRT 会收到 callback failure。