Navigation
API > API/Runtime > API/Runtime/NNE > API/Runtime/NNE/IModelInstanceRDG
Description
Enqueue the model graph to a FRDGBuilder.
This function must be called from the render thread. SetInputTensorShapes must be called prior to this call. The caller owns the memory inside the bindings and must make sure that they are big enough.
| Name | EnqueueRDG |
| Type | function |
| Header File | /Engine/Source/Runtime/NNE/Public/NNERuntimeRDG.h |
| Include Path | #include "NNERuntimeRDG.h" |
EEnqueueRDGStatus EnqueueRDG
(
FRDGBuilder & RDGBuilder,
TConstArrayView< FTensorBindingRDG > Inputs,
TConstArrayView< FTensorBindingRDG > Outputs
)
Status indicating success or failure.
Parameters
| Name | Remarks |
|---|---|
| RDGBuilder | The RDG builder to which the neural network operations are enqueued. |
| InInputTensors | An array containing tensor bindings for each input tensor with caller owned memory containing the input data. |
| InOutputTensors | An array containing tensor bindings for each output tensor with caller owned memory big enough to contain the results on success. |