1#ifndef INFINI_OPS_BASE_CLAMP_MAX_H_
2#define INFINI_OPS_BASE_CLAMP_MAX_H_
34 [[deprecated(
"Use the explicit-output overload instead.")]]
52 [[deprecated(
"Use an explicit-output overload instead.")]]
Tensor::Strides input_strides_
Definition clamp_max.h:58
Tensor::Shape max_shape_
Definition clamp_max.h:70
DataType out_type_
Definition clamp_max.h:66
DataType max_type_
Definition clamp_max.h:74
int device_index_
Definition clamp_max.h:76
double max_
Definition clamp_max.h:68
Tensor::Strides max_strides_
Definition clamp_max.h:72
ClampMax(Tensor input, const Tensor max)
Definition clamp_max.h:35
virtual void operator()(const Tensor input, const double max, Tensor out) const =0
virtual void operator()(Tensor input, const Tensor max) const =0
ClampMax(const Tensor input, const Tensor max, Tensor out)
Definition clamp_max.h:20
Tensor::Strides out_strides_
Definition clamp_max.h:64
Tensor::Shape out_shape_
Definition clamp_max.h:62
DataType input_type_
Definition clamp_max.h:60
Tensor::Shape input_shape_
Definition clamp_max.h:56
ClampMax(const Tensor input, const double max, Tensor out)
Definition clamp_max.h:10
virtual void operator()(const Tensor input, const Tensor max, Tensor out) const =0
Definition generated/include/operator.h:282
Definition generated/include/operator.h:28
infini::rt::TensorView Tensor
Definition tensor.h:8