BlackCat_Tensors
A GPU-supported autograd and linear algebra library, designed for neural network construction
Static Public Member Functions | List of all members
bc::tensors::exprs::GreedyEvaluator Struct Reference

#include <tree_evaluator.h>

Static Public Member Functions

template<class Xpr , class Stream , class = std::enable_if_t<expression_traits<Xpr>::is_array::value>>
static auto evaluate (Xpr expression, Stream stream)
 
template<class Xpr , class Stream , class = std::enable_if_t<expression_traits<Xpr>::is_expr::value>, int = 0>
static auto evaluate (Xpr expression, Stream stream)
 Returns a kernel_array containing the tag temporary_tag, the caller of the function is responsible for its deallocation. More...
 

Member Function Documentation

◆ evaluate() [1/2]

template<class Xpr , class Stream , class = std::enable_if_t<expression_traits<Xpr>::is_array::value>>
static auto bc::tensors::exprs::GreedyEvaluator::evaluate ( Xpr  expression,
Stream  stream 
)
inlinestatic

◆ evaluate() [2/2]

template<class Xpr , class Stream , class = std::enable_if_t<expression_traits<Xpr>::is_expr::value>, int = 0>
static auto bc::tensors::exprs::GreedyEvaluator::evaluate ( Xpr  expression,
Stream  stream 
)
inlinestatic

Returns a kernel_array containing the tag temporary_tag, the caller of the function is responsible for its deallocation.

query this tag via 'exprs::expression_traits<Xpr>::is_temporary'


The documentation for this struct was generated from the following file: