Skip to main content

ClikaRT::nn::SoftminOptions

struct

Header: ClikaRT/nn/generated/activation.h

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

Member functions​

SoftminOptions()​

SoftminOptions() =default

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

SoftminOptions(int64_t)​

SoftminOptions(std::int64_t dim)

SoftminOptions(dim): implicit, so Softmin(dim) reads like the function call.

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

dim(int64_t)​

SoftminOptions& dim(std::int64_t v)

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

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

dim()​

std::int64_t dim() const

Reads dim.

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

dtype(DataType)​

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

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

dtype()​

DataType dtype() const

Reads dtype.

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

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 1157

dtype_​

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

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