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 1274

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 1277

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 1280

dim()​

std::int64_t dim() const

Reads dim.

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

dtype(DataType)​

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

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

dtype()​

DataType dtype() const

Reads dtype.

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

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 1284

dtype_​

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

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