Remove advice to use IO Binding for this scenario (#11006)

This commit is contained in:
Nat Kershaw (MSFT) 2022-03-30 10:23:50 -07:00 committed by GitHub
parent c37d2728bf
commit 998bf0fdb6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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",