9 #ifndef BC_TENSOR_EXPRESSION_TEMPLATES_INJECTION_H_ 10 #define BC_TENSOR_EXPRESSION_TEMPLATES_INJECTION_H_ 17 template<
class Tensor,
int AlphaModifer=1,
int BetaModifer=0>
21 static constexpr
size_t ALPHA = AlphaModifer;
22 static constexpr
size_t BETA = BetaModifer;
30 template<
class Op,
bool PriorEval,
class Tensor,
int A,
int B>
33 constexpr
int beta = PriorEval ? 1 : 0;
37 template<
int AlphaModifer=1,
int BetaModifer=0,
class Tensor>
Definition: tree_output_data.h:18
Tensor & data()
Definition: tree_output_data.h:27
auto update_alpha_beta_modifiers(Output_Data< Tensor, A, B > tensor)
Definition: tree_output_data.h:31
static constexpr size_t ALPHA
Definition: tree_output_data.h:21
auto make_output_data(Tensor tensor)
Definition: tree_output_data.h:38
static constexpr int tensor_dim
Definition: tensor_base.h:38
Definition: operation_traits.h:24
static constexpr int tensor_dim
Definition: tree_output_data.h:20
const Tensor & data() const
Definition: tree_output_data.h:26
static constexpr size_t BETA
Definition: tree_output_data.h:22
The Evaluator determines if an expression needs to be greedily optimized.
Definition: algorithms.h:22
Tensor array
Definition: tree_output_data.h:24