(context, bindings, inputs, outputs, stream, batch_size=1)
| 250 | # This function is generalized for multiple inputs/outputs. |
| 251 | # inputs and outputs are expected to be lists of HostDeviceMem objects. |
| 252 | def do_inference(context, bindings, inputs, outputs, stream, batch_size=1): |
| 253 | def execute_async(): |
| 254 | context.execute_async(batch_size=batch_size, bindings=bindings, stream_handle=stream) |
| 255 | return _do_inference_base(inputs, outputs, stream, execute_async) |
| 256 | |
| 257 | |
| 258 | # This function is generalized for multiple inputs/outputs for full dimension networks. |
nothing calls this directly
no test coverage detected