1#ifndef INFINI_OPS_BASE_THRESHOLD_H_
2#define INFINI_OPS_BASE_THRESHOLD_H_
23 const double value,
Tensor out)
const = 0;
Definition generated/include/operator.h:282
double value_
Definition threshold.h:40
int device_index_
Definition threshold.h:42
Tensor::Strides out_strides_
Definition threshold.h:34
virtual void operator()(const Tensor input, const double threshold, const double value, Tensor out) const =0
double threshold_
Definition threshold.h:38
Tensor::Shape input_shape_
Definition threshold.h:26
Tensor::Strides input_strides_
Definition threshold.h:28
Tensor::Shape out_shape_
Definition threshold.h:32
DataType input_type_
Definition threshold.h:30
Threshold(const Tensor input, const double threshold, const double value, Tensor out)
Definition threshold.h:10
DataType out_type_
Definition threshold.h:36
Definition generated/include/operator.h:28
infini::rt::TensorView Tensor
Definition tensor.h:8