TensorRT 10.0.1
nvinfer1::v_1_0::IDebugListener Class Referenceabstract

#include <NvInferRuntime.h>

Inheritance diagram for nvinfer1::v_1_0::IDebugListener:
nvinfer1::IVersionedInterface

Public Member Functions

InterfaceInfo getInterfaceInfo () const noexcept override
 Return version information associated with this interface. Applications must not override this method. More...
 
virtual bool processDebugTensor (void const *addr, TensorLocation location, DataType type, Dims const &shape, char const *name, cudaStream_t stream)=0
 Callback function that is called when a debug tensor’s value is updated and the debug state of the tensor is set to true. Content in the given address is only guaranteed to be valid for the duration of the callback. More...
 
 ~IDebugListener () override=default
 
- Public Member Functions inherited from nvinfer1::IVersionedInterface
virtual APILanguage getAPILanguage () const noexcept
 The language used to build the implementation of this Interface. More...
 
virtual ~IVersionedInterface () noexcept=default
 

Additional Inherited Members

- Protected Member Functions inherited from nvinfer1::IVersionedInterface
 IVersionedInterface ()=default
 
 IVersionedInterface (IVersionedInterface const &)=default
 
 IVersionedInterface (IVersionedInterface &&)=default
 
IVersionedInterfaceoperator= (IVersionedInterface const &) &=default
 
IVersionedInterfaceoperator= (IVersionedInterface &&) &=default
 

Constructor & Destructor Documentation

◆ ~IDebugListener()

nvinfer1::v_1_0::IDebugListener::~IDebugListener ( )
overridedefault

Member Function Documentation

◆ getInterfaceInfo()

InterfaceInfo nvinfer1::v_1_0::IDebugListener::getInterfaceInfo ( ) const
inlineoverridevirtualnoexcept

Return version information associated with this interface. Applications must not override this method.

Implements nvinfer1::IVersionedInterface.

◆ processDebugTensor()

virtual bool nvinfer1::v_1_0::IDebugListener::processDebugTensor ( void const *  addr,
TensorLocation  location,
DataType  type,
Dims const &  shape,
char const *  name,
cudaStream_t  stream 
)
pure virtual

Callback function that is called when a debug tensor’s value is updated and the debug state of the tensor is set to true. Content in the given address is only guaranteed to be valid for the duration of the callback.

Parameters
locationTensorLocation of the tensor.
addrpointer to buffer.
typedata Type of the tensor.
shapeshape of the tensor.
namename of the tensor.
streamCuda stream object.
Returns
True on success, false otherwise.

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

  Copyright © 2024 NVIDIA Corporation
  Privacy Policy | Manage My Privacy | Do Not Sell or Share My Data | Terms of Service | Accessibility | Corporate Policies | Product Security | Contact