1#ifndef INFINI_OPS_BASE_LOG_SOFTMAX_H_
2#define INFINI_OPS_BASE_LOG_SOFTMAX_H_
13 const std::optional<DataType> dtype,
Tensor out)
25 const std::optional<DataType> dtype,
Definition log_softmax.h:10
Tensor::Shape input_shape_
Definition log_softmax.h:29
DataType out_type_
Definition log_softmax.h:39
LogSoftmax(const Tensor input, const int64_t dim, const std::optional< DataType > dtype, Tensor out)
Definition log_softmax.h:12
std::optional< DataType > dtype_
Definition log_softmax.h:43
virtual void operator()(const Tensor input, const int64_t dim, const std::optional< DataType > dtype, Tensor out) const =0
int device_index_
Definition log_softmax.h:45
Tensor::Shape out_shape_
Definition log_softmax.h:35
Tensor::Strides input_strides_
Definition log_softmax.h:31
int64_t dim_
Definition log_softmax.h:41
DataType input_type_
Definition log_softmax.h:33
Tensor::Strides out_strides_
Definition log_softmax.h:37
Definition generated/include/operator.h:282
Definition generated/include/operator.h:28
infini::rt::TensorView Tensor
Definition tensor.h:8