SHOGUN  4.1.0
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义  
所有成员列表 | 静态 Public 成员函数
allocate_result< Operand, ReturnType > 模板结构体 参考

详细描述

template<class Operand, class ReturnType>
struct shogun::linalg::util::allocate_result< Operand, ReturnType >

Template struct allocate_result for allocating objects of return type for element-wise operations. This generic version takes care of the vector types supported by Shogun (SGVector and CGPUVector).

在文件 AllocResultUtil.h56 行定义.

静态 Public 成员函数

static ReturnType alloc (Operand op)
 

成员函数说明

static ReturnType alloc ( Operand  op)
static

Creates a newly allocated memory for ReturnType, assuming that the ReturnType is a vector.

参数
opThe operand for the element-wise operation
返回
The newly allocated result of ReturnType

在文件 AllocResultUtil.h65 行定义.


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

SHOGUN 机器学习工具包 - 项目文档