1#ifndef INFINI_OPS_BASE_INTERNAL_SOFTMAX_H_
2#define INFINI_OPS_BASE_INTERNAL_SOFTMAX_H_
10 Softmax(
const Tensor input,
const int64_t dim,
const bool half_to_float,
23 const bool half_to_float,
Tensor out)
const = 0;
Definition generated/include/operator.h:282
Definition internal_softmax.h:8
virtual void operator()(const Tensor input, const int64_t dim, const bool half_to_float, Tensor out) const =0
Softmax(const Tensor input, const int64_t dim, const bool half_to_float, Tensor out)
Definition internal_softmax.h:10
Tensor::Shape input_shape_
Definition internal_softmax.h:26
int device_index_
Definition internal_softmax.h:42
bool half_to_float_
Definition internal_softmax.h:40
DataType input_type_
Definition internal_softmax.h:30
DataType out_type_
Definition internal_softmax.h:36
Tensor::Shape out_shape_
Definition internal_softmax.h:32
int64_t dim_
Definition internal_softmax.h:38
Tensor::Strides input_strides_
Definition internal_softmax.h:28
Tensor::Strides out_strides_
Definition internal_softmax.h:34
Definition internal_add_relu.h:6
infini::rt::TensorView Tensor
Definition tensor.h:8