|
HDK
|
Wrapper around ::OrtTensorTypeAndShapeInfo. More...
#include <onnxruntime_cxx_api.h>
Inheritance diagram for Ort::TensorTypeAndShapeInfo:Public Member Functions | |
| TensorTypeAndShapeInfo (std::nullptr_t) | |
| Create an empty TensorTypeAndShapeInfo object, must be assigned a valid one to be used. More... | |
| TensorTypeAndShapeInfo (OrtTensorTypeAndShapeInfo *p) | |
| Used for interop with the C API. More... | |
| ConstTensorTypeAndShapeInfo | GetConst () const |
Public Member Functions inherited from Ort::detail::TensorTypeAndShapeInfoImpl< OrtTensorTypeAndShapeInfo > | |
| 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< OrtTensorTypeAndShapeInfo > | |
| constexpr | Base ()=default |
| constexpr | Base (contained_type *p) noexcept |
| Base (const Base &)=delete | |
| Base (Base &&v) noexcept | |
| ~Base () | |
| Base & | operator= (const Base &)=delete |
| 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 | |
Public Types inherited from Ort::detail::TensorTypeAndShapeInfoImpl< OrtTensorTypeAndShapeInfo > | |
| using | B = Base< OrtTensorTypeAndShapeInfo > |
Public Types inherited from Ort::detail::Base< OrtTensorTypeAndShapeInfo > | |
| using | contained_type = OrtTensorTypeAndShapeInfo |
Protected Attributes inherited from Ort::detail::Base< OrtTensorTypeAndShapeInfo > | |
| contained_type * | p_ |
Wrapper around ::OrtTensorTypeAndShapeInfo.
Definition at line 1239 of file onnxruntime_cxx_api.h.
|
inlineexplicit |
Create an empty TensorTypeAndShapeInfo object, must be assigned a valid one to be used.
Definition at line 1240 of file onnxruntime_cxx_api.h.
|
inlineexplicit |
Used for interop with the C API.
Definition at line 1241 of file onnxruntime_cxx_api.h.
|
inline |
Definition at line 1242 of file onnxruntime_cxx_api.h.