Skip to main content

ClikaRT::nn::UnflattenOptions

struct

Header: ClikaRT/nn/generated/flatten.h

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

Member functions​

UnflattenOptions()​

explicit UnflattenOptions(std::int64_t dim, std::vector<std::int64_t> sizes)

UnflattenOptions(dim, sizes): the positional form.

Declared in ClikaRT/nn/generated/flatten.h, line 102

dim(int64_t)​

UnflattenOptions& dim(std::int64_t v)

Sets dim, the dimension to split; negative counts from the end.

Declared in ClikaRT/nn/generated/flatten.h, line 106

dim()​

std::int64_t dim() const

Reads dim.

Declared in ClikaRT/nn/generated/flatten.h, line 108

sizes(vector<int64_t>)​

UnflattenOptions& sizes(std::vector<std::int64_t> v)

Sets sizes, the extents the dimension splits into.

Declared in ClikaRT/nn/generated/flatten.h, line 114

sizes()​

const std::vector<std::int64_t>& sizes() const

Reads sizes.

Declared in ClikaRT/nn/generated/flatten.h, line 119

Data members​

dim_​

std::int64_t dim_

The dimension to split; negative counts from the end. Required: set through the constructor.

Declared in ClikaRT/nn/generated/flatten.h, line 111

sizes_​

std::vector<std::int64_t> sizes_

The extents the dimension splits into. Required: set through the constructor.

Declared in ClikaRT/nn/generated/flatten.h, line 122