Skip to content

Commit e77853b

Browse files
remove extra comment to avoid confusion in case the OrtValue initializer is released by ORT after graph partitioning.
1 parent 6ef125b commit e77853b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

include/onnxruntime/core/session/onnxruntime_ep_c_api.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -413,8 +413,6 @@ struct OrtEp {
413413
* \note Do NOT cache the provided OrtGraph instances in any of the OrtNodeComputeInfo functions because the
414414
* graphs are only valid for the duration of the call to Compile. Any graph/node/input/output
415415
* names that are needed by the OrtNodeComputeInfo functions must be copied and stored by the OrtEp.
416-
* The OrtValue data for initializers (obtained via GetTensorData), however, is stable for the lifetime of
417-
* the owning OrtSession instance.
418416
*
419417
* \since Version 1.23.
420418
*/

0 commit comments

Comments
 (0)