1#ifndef INFINI_OPS_BASE_INDEX_COPY_H_
2#define INFINI_OPS_BASE_INDEX_COPY_H_
11 const int64_t dim,
Tensor out)
28 const Tensor source,
const int64_t dim,
Definition index_copy.h:8
int64_t dim_
Definition index_copy.h:56
Tensor::Shape input_shape_
Definition index_copy.h:32
Tensor::Strides source_strides_
Definition index_copy.h:46
Tensor::Strides input_strides_
Definition index_copy.h:34
Tensor::Strides index_strides_
Definition index_copy.h:40
DataType source_type_
Definition index_copy.h:48
Tensor::Shape index_shape_
Definition index_copy.h:38
int device_index_
Definition index_copy.h:58
DataType out_type_
Definition index_copy.h:54
Tensor::Shape out_shape_
Definition index_copy.h:50
virtual void operator()(const Tensor input, const Tensor index, const Tensor source, const int64_t dim, Tensor out) const =0
DataType input_type_
Definition index_copy.h:36
IndexCopy(const Tensor input, const Tensor index, const Tensor source, const int64_t dim, Tensor out)
Definition index_copy.h:10
DataType index_type_
Definition index_copy.h:42
Tensor::Shape source_shape_
Definition index_copy.h:44
Tensor::Strides out_strides_
Definition index_copy.h:52
Definition generated/include/operator.h:282
Definition generated/include/operator.h:28
infini::rt::TensorView Tensor
Definition tensor.h:8