1#ifndef INFINI_OPS_BASE_LOGSPACE_H_
2#define INFINI_OPS_BASE_LOGSPACE_H_
11 const double base,
Tensor out)
26 const double base,
Tensor out)
39 const int64_t steps,
const double base,
43 const int64_t steps,
const double base,
Tensor::Strides start_strides_
Definition logspace.h:49
Tensor::Shape start_shape_
Definition logspace.h:47
Tensor::Shape out_shape_
Definition logspace.h:59
virtual void operator()(const Tensor start, const double end, const int64_t steps, const double base, Tensor out) const =0
double base_
Definition logspace.h:67
Logspace(const Tensor start, const double end, const int64_t steps, const double base, Tensor out)
Definition logspace.h:25
DataType start_type_
Definition logspace.h:51
Tensor::Shape end_shape_
Definition logspace.h:53
int device_index_
Definition logspace.h:71
double end_
Definition logspace.h:69
Logspace(const Tensor start, const Tensor end, const int64_t steps, const double base, Tensor out)
Definition logspace.h:10
Tensor::Strides end_strides_
Definition logspace.h:55
Tensor::Strides out_strides_
Definition logspace.h:61
virtual void operator()(const Tensor start, const Tensor end, const int64_t steps, const double base, Tensor out) const =0
DataType end_type_
Definition logspace.h:57
DataType out_type_
Definition logspace.h:63
int64_t steps_
Definition logspace.h:65
Definition generated/include/operator.h:282
Definition generated/include/operator.h:28
infini::rt::TensorView Tensor
Definition tensor.h:8