Skip to main content

ClikaRT::nn::LogSoftmaxOptions

struct

Header: ClikaRT/nn/generated/activation.h

Settings of LogSoftmax: chain the setters, or assign the fields.

Member functions​

LogSoftmaxOptions()​

LogSoftmaxOptions() =default

Declared in ClikaRT/nn/generated/activation.h, line 1085

LogSoftmaxOptions(int64_t)​

LogSoftmaxOptions(std::int64_t dim)

LogSoftmaxOptions(dim): implicit, so LogSoftmax(dim) reads like the function call.

Declared in ClikaRT/nn/generated/activation.h, line 1088

dim(int64_t)​

LogSoftmaxOptions& dim(std::int64_t v)

Sets dim, the reduction dimension; negative counts from the end.

Declared in ClikaRT/nn/generated/activation.h, line 1091

dim()​

std::int64_t dim() const

Reads dim.

Declared in ClikaRT/nn/generated/activation.h, line 1093

dtype(DataType)​

Sets dtype, the output dtype; DataType::Undefined keeps the input's.

Declared in ClikaRT/nn/generated/activation.h, line 1099

dtype()​

DataType dtype() const

Reads dtype.

Declared in ClikaRT/nn/generated/activation.h, line 1101

Data members​

dim_​

std::int64_t dim_ = -1

The reduction dimension; negative counts from the end. Default -1.

Declared in ClikaRT/nn/generated/activation.h, line 1095

dtype_​

The output dtype; DataType::Undefined keeps the input's. Default DataType::Undefined.

Declared in ClikaRT/nn/generated/activation.h, line 1104