1#ifndef INFINI_OPS_BASE_SET_H_
2#define INFINI_OPS_BASE_SET_H_
13 const std::vector<int64_t> size,
const std::vector<int64_t> stride,
42 const int64_t storage_offset,
43 const std::vector<int64_t> size,
44 const std::vector<int64_t> stride,
Definition generated/include/operator.h:282
Tensor::Strides out_strides_
Definition set.h:71
Tensor::Shape source_shape_
Definition set.h:57
Tensor::Shape out_shape_
Definition set.h:69
Set(const Tensor input, const Tensor source, Tensor out)
Definition set.h:29
Tensor::Strides input_strides_
Definition set.h:53
Tensor::Strides source_strides_
Definition set.h:59
Set(const Tensor input, const Tensor source, const int64_t storage_offset, const std::vector< int64_t > size, const std::vector< int64_t > stride, Tensor out)
Definition set.h:12
int64_t storage_offset_
Definition set.h:63
int device_index_
Definition set.h:75
DataType source_type_
Definition set.h:61
Tensor::Shape input_shape_
Definition set.h:51
DataType input_type_
Definition set.h:55
std::vector< int64_t > size_
Definition set.h:65
virtual void operator()(const Tensor input, const Tensor source, Tensor out) const =0
virtual void operator()(const Tensor input, const Tensor source, const int64_t storage_offset, const std::vector< int64_t > size, const std::vector< int64_t > stride, Tensor out) const =0
DataType out_type_
Definition set.h:73
std::vector< int64_t > stride_
Definition set.h:67
Definition generated/include/operator.h:28
infini::rt::TensorView Tensor
Definition tensor.h:8