SHOGUN
4.2.0
|
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).
Definition at line 56 of file AllocResultUtil.h.
Static Public Member Functions | |
static ReturnType | alloc (Operand op) |
|
static |
Creates a newly allocated memory for ReturnType, assuming that the ReturnType is a vector.
op | The operand for the element-wise operation |
Definition at line 65 of file AllocResultUtil.h.