HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
tensor_shape.h File Reference
#include <iosfwd>
#include <vector>
#include <algorithm>
#include <string>
#include <cstring>
#include "core/common/gsl.h"
#include "onnxruntime_config.h"
#include <absl/container/inlined_vector.h>
#include "core/common/span_utils.h"
+ Include dependency graph for tensor_shape.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  onnxruntime::TensorShape
 

Namespaces

 onnxruntime
 

Typedefs

using onnxruntime::TensorShapeVector = absl::InlinedVector< int64_t, kTensorShapeSmallBufferElementsSize >
 

Functions

TensorShapeVector onnxruntime::ToShapeVector (const gsl::span< const int64_t > &span)
 
gsl::span< const int64_t > onnxruntime::ToConstSpan (const TensorShapeVector &vec)
 
std::ostream & onnxruntime::operator<< (std::ostream &out, const TensorShape &shape)
 

Variables

constexpr size_t onnxruntime::kTensorShapeSmallBufferElementsSize = 5