1#ifndef INFINI_OPS_BASE_MAX_POOL3D_WITH_INDICES_H_
2#define INFINI_OPS_BASE_MAX_POOL3D_WITH_INDICES_H_
13 const std::vector<int64_t> kernel_size,
14 const std::vector<int64_t> stride,
15 const std::vector<int64_t> padding,
16 const std::vector<int64_t> dilation,
35 const std::vector<int64_t> kernel_size,
36 const std::vector<int64_t> stride,
37 const std::vector<int64_t> padding,
38 const std::vector<int64_t> dilation,
39 const bool ceil_mode,
Tensor out,
Definition max_pool3d_with_indices.h:10
Tensor::Shape indices_shape_
Definition max_pool3d_with_indices.h:55
Tensor::Strides input_strides_
Definition max_pool3d_with_indices.h:45
std::vector< int64_t > dilation_
Definition max_pool3d_with_indices.h:67
DataType input_type_
Definition max_pool3d_with_indices.h:47
DataType indices_type_
Definition max_pool3d_with_indices.h:59
std::vector< int64_t > stride_
Definition max_pool3d_with_indices.h:63
MaxPool3dWithIndices(const Tensor input, const std::vector< int64_t > kernel_size, const std::vector< int64_t > stride, const std::vector< int64_t > padding, const std::vector< int64_t > dilation, const bool ceil_mode, Tensor out, Tensor indices)
Definition max_pool3d_with_indices.h:12
std::vector< int64_t > padding_
Definition max_pool3d_with_indices.h:65
Tensor::Shape input_shape_
Definition max_pool3d_with_indices.h:43
bool ceil_mode_
Definition max_pool3d_with_indices.h:69
int device_index_
Definition max_pool3d_with_indices.h:71
Tensor::Shape out_shape_
Definition max_pool3d_with_indices.h:49
Tensor::Strides indices_strides_
Definition max_pool3d_with_indices.h:57
virtual void operator()(const Tensor input, const std::vector< int64_t > kernel_size, const std::vector< int64_t > stride, const std::vector< int64_t > padding, const std::vector< int64_t > dilation, const bool ceil_mode, Tensor out, Tensor indices) const =0
Tensor::Strides out_strides_
Definition max_pool3d_with_indices.h:51
DataType out_type_
Definition max_pool3d_with_indices.h:53
std::vector< int64_t > kernel_size_
Definition max_pool3d_with_indices.h:61
Definition generated/include/operator.h:282
Definition generated/include/operator.h:28
infini::rt::TensorView Tensor
Definition tensor.h:8