mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-18 21:21:17 +00:00
Remove advice to use IO Binding for this scenario (#11006)
This commit is contained in:
parent
c37d2728bf
commit
998bf0fdb6
1 changed files with 0 additions and 1 deletions
|
|
@ -416,7 +416,6 @@
|
|||
"latency = []\n",
|
||||
"for i in range(total_samples):\n",
|
||||
" data = dataset[i]\n",
|
||||
" # TODO: use IO Binding (see https://www.onnxruntime.ai/python/api_summary.html) to improve performance.\n",
|
||||
" ort_inputs = {\n",
|
||||
" 'input_ids': data[0].cpu().reshape(1, max_seq_length).numpy(),\n",
|
||||
" 'input_mask': data[1].cpu().reshape(1, max_seq_length).numpy(),\n",
|
||||
|
|
|
|||
Loading…
Reference in a new issue