|
VTK
9.7.1
|
#include "vtkSMPTools.h"#include <algorithm>#include <numeric>#include <onnxruntime_cxx_api.h>#include <vector>Go to the source code of this file.
Namespaces | |
| vtkONNXInternalUtils | |
Functions | |
| Ort::Value | vtkONNXInternalUtils::RawToTensor (float *data, const std::vector< int64_t > &shape) |
| Wraps a raw float buffer into a ONNX Runtime tensor. More... | |
| bool | vtkONNXInternalUtils::IsPermutation (const std::vector< int > &permutation) |
| This checks if a sequence actually represents a permutation. More... | |
| std::vector< int > | vtkONNXInternalUtils::InversePermutation (const std::vector< int > &permutation) |
| Computes the inverse of the input permutation, in other words the permutation you need to apply after the input to retrieve the original sequence. More... | |
| void | vtkONNXInternalUtils::Permute (float *data, const std::vector< int64_t > &outputShape, const std::vector< int > &permutation) |
| This reorders the memory pointed by data so that it matches the layout defined by outputShape and permutation. More... | |
1.8.10