1#ifndef INFINI_OPS_BASE_INTERNAL_COMPUTE_LINEAR_COMBINATION_H_
2#define INFINI_OPS_BASE_INTERNAL_COMPUTE_LINEAR_COMBINATION_H_
Definition generated/include/operator.h:282
Definition internal_compute_linear_combination.h:8
Tensor::Strides coefficients_strides_
Definition internal_compute_linear_combination.h:35
ComputeLinearCombination(const Tensor input, const Tensor coefficients, Tensor out)
Definition internal_compute_linear_combination.h:10
Tensor::Strides input_strides_
Definition internal_compute_linear_combination.h:29
virtual void operator()(const Tensor input, const Tensor coefficients, Tensor out) const =0
DataType out_type_
Definition internal_compute_linear_combination.h:43
DataType input_type_
Definition internal_compute_linear_combination.h:31
Tensor::Shape coefficients_shape_
Definition internal_compute_linear_combination.h:33
Tensor::Shape out_shape_
Definition internal_compute_linear_combination.h:39
DataType coefficients_type_
Definition internal_compute_linear_combination.h:37
Tensor::Shape input_shape_
Definition internal_compute_linear_combination.h:27
int device_index_
Definition internal_compute_linear_combination.h:45
Tensor::Strides out_strides_
Definition internal_compute_linear_combination.h:41
Definition internal_add_relu.h:6
infini::rt::TensorView Tensor
Definition tensor.h:8