Skip to main content

ClikaRT::nn::SoftmaxOptions

struct

Header: ClikaRT/nn/generated/activation.h

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

Member functions​

SoftmaxOptions()​

SoftmaxOptions() =default

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

SoftmaxOptions(int64_t)​

SoftmaxOptions(std::int64_t dim)

SoftmaxOptions(dim): implicit, so Softmax(dim) reads like the function call.

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

dim(int64_t)​

SoftmaxOptions& dim(std::int64_t v)

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

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

dim()​

std::int64_t dim() const

Reads dim.

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

dtype(DataType)​

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

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

dtype()​

DataType dtype() const

Reads dtype.

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

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 1033

dtype_​

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

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