1#ifndef INFINI_OPS_BASE_SUB_H_
2#define INFINI_OPS_BASE_SUB_H_
25 [[deprecated(
"Use the `(input, other, alpha, out)` overload instead.")]]
48 const double alpha,
Tensor out)
const = 0;
52 [[deprecated(
"Use `operator()(input, other, alpha, out)` instead.")]]
54 const double alpha)
const = 0;
57 const double alpha,
Tensor out)
const = 0;
Definition generated/include/operator.h:282
Tensor::Strides out_strides_
Definition sub.h:74
virtual void operator()(const Tensor input, const Tensor other, const double alpha, Tensor out) const =0
virtual void operator()(Tensor input, const Tensor other, const double alpha) const =0
Tensor::Shape out_shape_
Definition sub.h:72
double alpha_
Definition sub.h:78
Sub(const Tensor input, const Tensor other, const double alpha, Tensor out)
Definition sub.h:10
DataType input_type_
Definition sub.h:64
Sub(Tensor input, const Tensor other, const double alpha)
Definition sub.h:26
Tensor::Shape other_shape_
Definition sub.h:66
Sub(const Tensor input, const double other, const double alpha, Tensor out)
Definition sub.h:36
int device_index_
Definition sub.h:82
virtual void operator()(const Tensor input, const double other, const double alpha, Tensor out) const =0
double other_
Definition sub.h:80
DataType out_type_
Definition sub.h:76
Tensor::Shape input_shape_
Definition sub.h:60
DataType other_type_
Definition sub.h:70
Tensor::Strides input_strides_
Definition sub.h:62
Tensor::Strides other_strides_
Definition sub.h:68
Definition generated/include/operator.h:28
infini::rt::TensorView Tensor
Definition tensor.h:8