HDK
|
#include <onnxruntime_cxx_api.h>
Public Types | |
using | B = Base< T > |
Public Types inherited from Ort::detail::Base< T > | |
using | contained_type = T |
Public Member Functions | |
ONNXTensorElementDataType | GetElementType () const |
Wraps OrtApi::GetTensorElementType. More... | |
size_t | GetElementCount () const |
Wraps OrtApi::GetTensorShapeElementCount. More... | |
size_t | GetDimensionsCount () const |
Wraps OrtApi::GetDimensionsCount. More... | |
void | GetDimensions (int64_t *values, size_t values_count) const |
Wraps OrtApi::GetDimensions. More... | |
void | GetSymbolicDimensions (const char **values, size_t values_count) const |
Wraps OrtApi::GetSymbolicDimensions. More... | |
std::vector< int64_t > | GetShape () const |
Uses GetDimensionsCount & GetDimensions to return a std::vector of the shape. More... | |
Public Member Functions inherited from Ort::detail::Base< T > | |
constexpr | Base ()=default |
constexpr | Base (contained_type *p) noexcept |
~Base () | |
Base (const Base &)=delete | |
Base & | operator= (const Base &)=delete |
Base (Base &&v) noexcept | |
Base & | operator= (Base &&v) noexcept |
constexpr | operator contained_type * () const noexcept |
contained_type * | release () |
Relinquishes ownership of the contained C object pointer The underlying object is not destroyed. More... | |
Additional Inherited Members | |
Protected Attributes inherited from Ort::detail::Base< T > | |
contained_type * | p_ {} |
Definition at line 828 of file onnxruntime_cxx_api.h.
using Ort::detail::TensorTypeAndShapeInfoImpl< T >::B = Base<T> |
Definition at line 829 of file onnxruntime_cxx_api.h.
|
inline |
Wraps OrtApi::GetDimensions.
Definition at line 1047 of file onnxruntime_cxx_inline.h.
|
inline |
Wraps OrtApi::GetDimensionsCount.
Definition at line 1040 of file onnxruntime_cxx_inline.h.
|
inline |
Wraps OrtApi::GetTensorShapeElementCount.
Definition at line 1033 of file onnxruntime_cxx_inline.h.
|
inline |
Wraps OrtApi::GetTensorElementType.
Definition at line 1026 of file onnxruntime_cxx_inline.h.
|
inline |
Uses GetDimensionsCount & GetDimensions to return a std::vector of the shape.
Definition at line 1057 of file onnxruntime_cxx_inline.h.
|
inline |
Wraps OrtApi::GetSymbolicDimensions.
Definition at line 1052 of file onnxruntime_cxx_inline.h.