1#ifndef INFINI_OPS_BASE_INDEX_SELECT_H_
2#define INFINI_OPS_BASE_INDEX_SELECT_H_
25 const int64_t dim,
Tensor out)
const = 0;
Definition index_select.h:8
DataType index_type_
Definition index_select.h:38
DataType out_type_
Definition index_select.h:44
Tensor::Strides out_strides_
Definition index_select.h:42
Tensor::Strides input_strides_
Definition index_select.h:30
Tensor::Strides index_strides_
Definition index_select.h:36
IndexSelect(const Tensor input, const Tensor index, const int64_t dim, Tensor out)
Definition index_select.h:10
Tensor::Shape input_shape_
Definition index_select.h:28
Tensor::Shape out_shape_
Definition index_select.h:40
int64_t dim_
Definition index_select.h:46
int device_index_
Definition index_select.h:48
DataType input_type_
Definition index_select.h:32
Tensor::Shape index_shape_
Definition index_select.h:34
virtual void operator()(const Tensor input, const Tensor index, const int64_t dim, Tensor out) const =0
Definition generated/include/operator.h:282
Definition generated/include/operator.h:28
infini::rt::TensorView Tensor
Definition tensor.h:8