1#ifndef INFINI_OPS_BASE_AMAX_H_
2#define INFINI_OPS_BASE_AMAX_H_
12 Amax(
const Tensor input,
const std::vector<int64_t> dim,
const bool keepdim,
25 const bool keepdim,
Tensor out)
const = 0;
40 std::vector<int64_t>
dim_{};
virtual void operator()(const Tensor input, const std::vector< int64_t > dim, const bool keepdim, Tensor out) const =0
Tensor::Shape out_shape_
Definition amax.h:34
DataType out_type_
Definition amax.h:38
std::vector< int64_t > dim_
Definition amax.h:40
bool keepdim_
Definition amax.h:42
Tensor::Strides input_strides_
Definition amax.h:30
Tensor::Strides out_strides_
Definition amax.h:36
DataType input_type_
Definition amax.h:32
int device_index_
Definition amax.h:44
Amax(const Tensor input, const std::vector< int64_t > dim, const bool keepdim, Tensor out)
Definition amax.h:12
Tensor::Shape input_shape_
Definition amax.h:28
Definition generated/include/operator.h:282
Definition generated/include/operator.h:28
infini::rt::TensorView Tensor
Definition tensor.h:8