Remove redundant doc lines (#9946)

This commit is contained in:
Hariharan Seshadri 2021-12-06 22:47:53 -08:00 committed by GitHub
parent fe3e672400
commit 70bd575cdd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -288,10 +288,6 @@ ORT leverages CuDNN for convolution operations and the first step in this proces
providers = [("CUDAExecutionProvider", {"cudnn_conv_use_max_workspace": '1'})]
sess_options = ort.SessionOptions()
sess = ort.InferenceSession("my_conv_heavy_fp16_model.onnx", sess_options = sess_options, providers=providers)
options = sess.get_provider_options()
cuda_options = options['CUDAExecutionProvider']
cuda_options['cudnn_conv_use_max_workspace'] = '1'
sess.set_providers(['CUDAExecutionProvider'], [cuda_options])
```
* C/C++
Support for this provider option will be added in upcoming releases.