1#ifndef INFINI_OPS_BASE_INDEX_H_
2#define INFINI_OPS_BASE_INDEX_H_
13 Index(
const Tensor input,
const std::vector<std::optional<Tensor>> indices,
25 const std::vector<std::optional<Tensor>> indices,
Index(const Tensor input, const std::vector< std::optional< Tensor > > indices, Tensor out)
Definition index.h:13
std::vector< std::optional< Tensor > > indices_
Definition index.h:35
Tensor::Shape out_shape_
Definition index.h:37
Tensor::Strides input_strides_
Definition index.h:31
Tensor::Shape input_shape_
Definition index.h:29
DataType input_type_
Definition index.h:33
virtual void operator()(const Tensor input, const std::vector< std::optional< Tensor > > indices, Tensor out) const =0
Tensor::Strides out_strides_
Definition index.h:39
DataType out_type_
Definition index.h:41
int device_index_
Definition index.h:43
Definition generated/include/operator.h:282
Definition generated/include/operator.h:28
infini::rt::TensorView Tensor
Definition tensor.h:8