VTK  9.5.20250812
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
16VTK_ABI_NAMESPACE_BEGIN
18{
19 Ort::Env OrtEnv;
20 std::unique_ptr<Ort::Session> Session;
21};
22
23VTK_ABI_NAMESPACE_END
24#endif // vtkONNXInferenceInternals_h
VTK internal class for hiding ONNX members.
std::unique_ptr< Ort::Session > Session