HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Ort::detail::TensorTypeAndShapeInfoImpl< T > Struct Template Reference

#include <onnxruntime_cxx_api.h>

+ Inheritance diagram for Ort::detail::TensorTypeAndShapeInfoImpl< T >:

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
 
Baseoperator= (const Base &)=delete
 
 Base (Base &&v) noexcept
 
Baseoperator= (Base &&v) noexcept
 
constexpr operator contained_type * () const noexcept
 
contained_typerelease ()
 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_typep_ {}
 

Detailed Description

template<typename T>
struct Ort::detail::TensorTypeAndShapeInfoImpl< T >

Definition at line 828 of file onnxruntime_cxx_api.h.

Member Typedef Documentation

template<typename T>
using Ort::detail::TensorTypeAndShapeInfoImpl< T >::B = Base<T>

Definition at line 829 of file onnxruntime_cxx_api.h.

Member Function Documentation

template<typename T >
void Ort::detail::TensorTypeAndShapeInfoImpl< T >::GetDimensions ( int64_t *  values,
size_t  values_count 
) const
inline

Wraps OrtApi::GetDimensions.

Deprecated:
use GetShape() returning std::vector [[deprecated]] This interface is unsafe to use

Definition at line 1047 of file onnxruntime_cxx_inline.h.

template<typename T >
size_t Ort::detail::TensorTypeAndShapeInfoImpl< T >::GetDimensionsCount ( ) const
inline

Wraps OrtApi::GetDimensionsCount.

Definition at line 1040 of file onnxruntime_cxx_inline.h.

template<typename T >
size_t Ort::detail::TensorTypeAndShapeInfoImpl< T >::GetElementCount ( ) const
inline

Wraps OrtApi::GetTensorShapeElementCount.

Definition at line 1033 of file onnxruntime_cxx_inline.h.

template<typename T >
ONNXTensorElementDataType Ort::detail::TensorTypeAndShapeInfoImpl< T >::GetElementType ( ) const
inline

Wraps OrtApi::GetTensorElementType.

Definition at line 1026 of file onnxruntime_cxx_inline.h.

template<typename T >
std::vector< int64_t > Ort::detail::TensorTypeAndShapeInfoImpl< T >::GetShape ( ) const
inline

Uses GetDimensionsCount & GetDimensions to return a std::vector of the shape.

Definition at line 1057 of file onnxruntime_cxx_inline.h.

template<typename T >
void Ort::detail::TensorTypeAndShapeInfoImpl< T >::GetSymbolicDimensions ( const char **  values,
size_t  values_count 
) const
inline

Wraps OrtApi::GetSymbolicDimensions.

Definition at line 1052 of file onnxruntime_cxx_inline.h.


The documentation for this struct was generated from the following files: