1#ifndef INFINI_OPS_BASE_INDEX_FILL_H_
2#define INFINI_OPS_BASE_INDEX_FILL_H_
11 const int64_t dim,
Tensor out)
26 const int64_t dim,
Tensor out)
43 const double value,
const int64_t dim,
47 const Tensor value,
const int64_t dim,
Definition index_fill.h:8
IndexFill(const Tensor input, const Tensor index, const Tensor value, const int64_t dim, Tensor out)
Definition index_fill.h:25
int device_index_
Definition index_fill.h:79
virtual void operator()(const Tensor input, const Tensor index, const Tensor value, const int64_t dim, Tensor out) const =0
DataType value_type_
Definition index_fill.h:71
Tensor::Strides value_strides_
Definition index_fill.h:69
DataType input_type_
Definition index_fill.h:55
virtual void operator()(const Tensor input, const Tensor index, const double value, const int64_t dim, Tensor out) const =0
Tensor::Shape out_shape_
Definition index_fill.h:73
DataType out_type_
Definition index_fill.h:77
Tensor::Shape index_shape_
Definition index_fill.h:57
Tensor::Strides out_strides_
Definition index_fill.h:75
Tensor::Shape input_shape_
Definition index_fill.h:51
Tensor::Strides index_strides_
Definition index_fill.h:59
Tensor::Shape value_shape_
Definition index_fill.h:67
int64_t dim_
Definition index_fill.h:63
double value_
Definition index_fill.h:65
Tensor::Strides input_strides_
Definition index_fill.h:53
DataType index_type_
Definition index_fill.h:61
IndexFill(const Tensor input, const Tensor index, const double value, const int64_t dim, Tensor out)
Definition index_fill.h:10
Definition generated/include/operator.h:282
Definition generated/include/operator.h:28
infini::rt::TensorView Tensor
Definition tensor.h:8