Interface class for user-defined AI/DL inference techniques. More...
#include <idistributed_inference_technique.h>
Inherits mi::base::Interface_declare< 0xfc8e88e7, ... >.
Public Member Functions | |
virtual void | inference (mi::neuraylib::IDice_transaction *dice_transaction, const IInference_source_data *source_data, IMemory_manager *memory_manager, IInference_result *result_data_assignment) const =0 |
Launches the user-defined inference technique. More... | |
virtual const char * | get_configuration () const |
Returns optional configuration settings that may be used by the library for the session export mechanism provided by ISession::export_session() . More... | |
Interface class for user-defined AI/DL inference techniques.
An implementation of this class can be assigned as a scene description.
|
inlinevirtual |
Returns optional configuration settings that may be used by the library for the session export mechanism provided by ISession::export_session()
.
|
pure virtual |
Launches the user-defined inference technique.
This method is called by the rendering system in a separate thread to trigger the inference operation asynchronously and in parallel to the processing of subregion.
[in] | dice_transaction | The current DiCE transaction. |
[in] | source_data | An instance of a IInference_source allows accessing the data stored locally on the machine/GPU. |
[in] | memory_manager | An instance of a IMemory_manager allows allocating library-side memory that shall be filled with application-side data. |
[in,out] | result_data_assignment | Receives the inference result data from the external inference operations and maps them to a unique identifier. The identifier or slot shall be know by subsequent XAC shader or compute programs to make use of the results inside. Making the slot available to the XAC shader represents the responsibility of the user or application writer. |