Commit e8b054c
authored
Update ORT_API_VERSION to 24 (#26418)
### Description
- Updates the `ORT_API_VERSION` value in onnxruntime_c_api.h to `24`.
- Edit documentation for the `TensorTypeAndShape_HasShape` API function
to indicate the correct API version (1.24).
- Adds `static_assert` to ensure that API functions for 1.23 are not
added or removed.
### Motivation and Context
The version of ORT was previously updated to 1.24.0 but we forgot to
update `ORT_API_VERSION`.1 parent 0600482 commit e8b054c
File tree
5 files changed
+12
-2
lines changed- include/onnxruntime/core/session
- onnxruntime/core/session
- plugin_ep
5 files changed
+12
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
6584 | 6584 | | |
6585 | 6585 | | |
6586 | 6586 | | |
6587 | | - | |
| 6587 | + | |
6588 | 6588 | | |
6589 | 6589 | | |
6590 | 6590 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
342 | 342 | | |
343 | 343 | | |
344 | 344 | | |
| 345 | + | |
345 | 346 | | |
346 | 347 | | |
347 | 348 | | |
348 | 349 | | |
349 | 350 | | |
| 351 | + | |
| 352 | + | |
350 | 353 | | |
351 | 354 | | |
352 | 355 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
393 | 393 | | |
394 | 394 | | |
395 | 395 | | |
| 396 | + | |
396 | 397 | | |
397 | 398 | | |
398 | 399 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4228 | 4228 | | |
4229 | 4229 | | |
4230 | 4230 | | |
| 4231 | + | |
| 4232 | + | |
4231 | 4233 | | |
4232 | 4234 | | |
4233 | 4235 | | |
| |||
4264 | 4266 | | |
4265 | 4267 | | |
4266 | 4268 | | |
| 4269 | + | |
4267 | 4270 | | |
4268 | 4271 | | |
4269 | 4272 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
230 | 230 | | |
231 | 231 | | |
232 | 232 | | |
| 233 | + | |
233 | 234 | | |
234 | 235 | | |
235 | 236 | | |
236 | 237 | | |
237 | 238 | | |
| 239 | + | |
| 240 | + | |
238 | 241 | | |
239 | 242 | | |
240 | 243 | | |
| |||
0 commit comments