1#ifndef INFINI_OPS_BASE_INTERNAL_LOG_SOFTMAX_BACKWARD_DATA_H_
2#define INFINI_OPS_BASE_INTERNAL_LOG_SOFTMAX_BACKWARD_DATA_H_
11 const int64_t dim,
const DataType input_dtype,
27 const int64_t dim,
const DataType input_dtype,
Definition generated/include/operator.h:282
Definition internal_log_softmax_backward_data.h:8
Tensor::Shape output_shape_
Definition internal_log_softmax_backward_data.h:37
DataType input_dtype_
Definition internal_log_softmax_backward_data.h:51
Tensor::Shape out_shape_
Definition internal_log_softmax_backward_data.h:43
Tensor::Strides grad_output_strides_
Definition internal_log_softmax_backward_data.h:33
DataType grad_output_type_
Definition internal_log_softmax_backward_data.h:35
DataType out_type_
Definition internal_log_softmax_backward_data.h:47
virtual void operator()(const Tensor grad_output, const Tensor output, const int64_t dim, const DataType input_dtype, Tensor out) const =0
DataType output_type_
Definition internal_log_softmax_backward_data.h:41
Tensor::Shape grad_output_shape_
Definition internal_log_softmax_backward_data.h:31
LogSoftmaxBackwardData(const Tensor grad_output, const Tensor output, const int64_t dim, const DataType input_dtype, Tensor out)
Definition internal_log_softmax_backward_data.h:10
Tensor::Strides out_strides_
Definition internal_log_softmax_backward_data.h:45
int64_t dim_
Definition internal_log_softmax_backward_data.h:49
int device_index_
Definition internal_log_softmax_backward_data.h:53
Tensor::Strides output_strides_
Definition internal_log_softmax_backward_data.h:39
Definition internal_add_relu.h:6
infini::rt::TensorView Tensor
Definition tensor.h:8