载入中...
搜索中...
未找到
eve::tensor::OnnxDeviceStorage类 参考abstract

Run-scoped device storage. Readback completes pending work on the device thread. 更多...

#include <OnnxStorage.h>

Public 成员函数

virtual ~OnnxDeviceStorage ()=default
 Release owning storage on the device thread.
 
virtual Result< std::vector< uint8_t > > readback () const =0
 Return an owning host copy, or an explicit device/lifecycle error.
 

详细描述

Run-scoped device storage. Readback completes pending work on the device thread.

注解
Implementations reject access after their run ends; no device handles escape runGpu.

在文件 OnnxStorage.h 第 9 行定义.

构造及析构函数说明

◆ ~OnnxDeviceStorage()

virtual eve::tensor::OnnxDeviceStorage::~OnnxDeviceStorage ( )
virtualdefault

Release owning storage on the device thread.

成员函数说明

◆ readback()

virtual Result< std::vector< uint8_t > > eve::tensor::OnnxDeviceStorage::readback ( ) const
pure virtual

Return an owning host copy, or an explicit device/lifecycle error.


该类的文档由以下文件生成: