载入中...
搜索中...
未找到
eve::tensor::OnnxTensor结构体 参考

Owning ONNX boundary tensor: row-major little-endian bytes and exact integer shape. 更多...

#include <OnnxModel.h>

Public 属性

OnnxElement element = OnnxElement::Float32
 
std::vector< int64_t > shape
 
std::vector< uint8_t > bytes
 

详细描述

Owning ONNX boundary tensor: row-major little-endian bytes and exact integer shape.

注解
No borrowed storage. run() validates caller-provided values before execution. Scalar shape is empty; zero-sized dimensions are supported. No implicit FP32 integer conversion.

在文件 OnnxModel.h 第 25 行定义.

类成员变量说明

◆ bytes

std::vector<uint8_t> eve::tensor::OnnxTensor::bytes

在文件 OnnxModel.h 第 28 行定义.

◆ element

OnnxElement eve::tensor::OnnxTensor::element = OnnxElement::Float32

在文件 OnnxModel.h 第 26 行定义.

◆ shape

std::vector<int64_t> eve::tensor::OnnxTensor::shape

在文件 OnnxModel.h 第 27 行定义.


该结构体的文档由以下文件生成: