![]() |
Signet Forge 0.1.0
C++20 Parquet library with AI-native extensions
|
DEMO |
A set of named ONNX tensors for multi-input model inference. More...
#include <onnx_bridge.hpp>
Public Member Functions | |
| bool | is_valid () const |
| Check whether all tensors are valid and the set is non-empty. | |
Public Attributes | |
| std::vector< std::string > | names |
| Model input names (parallel with tensors) | |
| std::vector< OnnxTensorInfo > | tensors |
| Prepared tensor infos (parallel with names) | |
A set of named ONNX tensors for multi-input model inference.
Names and tensors are stored in parallel vectors. The names correspond to model input names as defined in the ONNX model graph, and the tensors hold OnnxTensorInfo structs ready for OrtApi::CreateTensorWithDataAsOrtValue.
Definition at line 235 of file onnx_bridge.hpp.
|
inline |
Check whether all tensors are valid and the set is non-empty.
Definition at line 243 of file onnx_bridge.hpp.
| std::vector<std::string> signet::forge::OnnxInputSet::names |
Model input names (parallel with tensors)
Definition at line 236 of file onnx_bridge.hpp.
| std::vector<OnnxTensorInfo> signet::forge::OnnxInputSet::tensors |
Prepared tensor infos (parallel with names)
Definition at line 237 of file onnx_bridge.hpp.