cleanupOrtSession function

void cleanupOrtSession(
  1. OrtSessionObjects? ortSessionObjects
)

Cleans up resources associated with an ORT session.

Ensures proper deallocation of memory used by the ONNX Runtime session.

Implementation

void cleanupOrtSession(OrtSessionObjects? ortSessionObjects) {
  releaseOrtSessionObjects(ortSessionObjects);
}