|
enum | Type {
undefined = ONNX_NAMESPACE::TensorProto_DataType_UNDEFINED,
float32 = ONNX_NAMESPACE::TensorProto_DataType_FLOAT,
uint8 = ONNX_NAMESPACE::TensorProto_DataType_UINT8,
int8 = ONNX_NAMESPACE::TensorProto_DataType_INT8,
uint16 = ONNX_NAMESPACE::TensorProto_DataType_UINT16,
int16 = ONNX_NAMESPACE::TensorProto_DataType_INT16,
int32 = ONNX_NAMESPACE::TensorProto_DataType_INT32,
int64 = ONNX_NAMESPACE::TensorProto_DataType_INT64,
string = ONNX_NAMESPACE::TensorProto_DataType_STRING,
boolean = ONNX_NAMESPACE::TensorProto_DataType_BOOL,
float16 = ONNX_NAMESPACE::TensorProto_DataType_FLOAT16,
float64 = ONNX_NAMESPACE::TensorProto_DataType_DOUBLE,
uint32 = ONNX_NAMESPACE::TensorProto_DataType_UINT32,
uint64 = ONNX_NAMESPACE::TensorProto_DataType_UINT64,
complex64 = ONNX_NAMESPACE::TensorProto_DataType_COMPLEX64,
complex128 = ONNX_NAMESPACE::TensorProto_DataType_COMPLEX128
} |
|
|
| Tensor (const ONNX_NAMESPACE::TensorProto &tensor) |
|
| Tensor (const Tensor &)=default |
|
| Tensor (Tensor &&)=default |
|
Tensor & | operator= (const Tensor &)=delete |
|
Tensor & | operator= (Tensor &&)=delete |
|
const Shape & | get_shape () const |
|
template<typename T > |
std::vector< T > | get_data () const |
|
const std::string & | get_name () const |
|
Type | get_type () const |
|
const element::Type & | get_ng_type () const |
|
| operator TensorProto_DataType () const |
|
std::shared_ptr< ngraph::op::Constant > | get_ng_constant () const |
|
The documentation for this class was generated from the following file:
- frontend/onnx_import/include/onnx_import/core/tensor.hpp