1#ifndef INFINI_OPS_BASE_ADDR_H_
2#define INFINI_OPS_BASE_ADDR_H_
11 const double beta,
const double alpha,
Tensor out)
29 const Tensor vec2,
const double beta,
30 const double alpha,
Tensor out)
const = 0;
Tensor::Shape input_shape_
Definition addr.h:33
DataType input_type_
Definition addr.h:37
DataType out_type_
Definition addr.h:55
virtual void operator()(const Tensor input, const Tensor vec1, const Tensor vec2, const double beta, const double alpha, Tensor out) const =0
double alpha_
Definition addr.h:59
Tensor::Strides vec1_strides_
Definition addr.h:41
int device_index_
Definition addr.h:61
DataType vec1_type_
Definition addr.h:43
Tensor::Shape vec2_shape_
Definition addr.h:45
Tensor::Shape vec1_shape_
Definition addr.h:39
Tensor::Strides vec2_strides_
Definition addr.h:47
DataType vec2_type_
Definition addr.h:49
Addr(const Tensor input, const Tensor vec1, const Tensor vec2, const double beta, const double alpha, Tensor out)
Definition addr.h:10
double beta_
Definition addr.h:57
Tensor::Strides out_strides_
Definition addr.h:53
Tensor::Strides input_strides_
Definition addr.h:35
Tensor::Shape out_shape_
Definition addr.h:51
Definition generated/include/operator.h:282
Definition generated/include/operator.h:28
infini::rt::TensorView Tensor
Definition tensor.h:8