VTK  9.7.1
vtkONNXInferenceInternals.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
10 #ifndef vtkONNXInferenceInternals_h
11 #define vtkONNXInferenceInternals_h
12 
13 #include <memory> // For unique_ptr
14 #include <onnxruntime_cxx_api.h>
15 
16 VTK_ABI_NAMESPACE_BEGIN
18 {
19  Ort::Env OrtEnv;
20  std::unique_ptr<Ort::Session> Session;
21 };
22 
23 VTK_ABI_NAMESPACE_END
24 #endif // vtkONNXInferenceInternals_h
std::unique_ptr< Ort::Session > Session
VTK internal class for hiding ONNX members.