ClikaRT::nn::Fold
class
Header: ClikaRT/nn/generated/fold.h
Inherits: ClikaRT::nn::Module
Sums sliding windows [N, L, prod(kernel_size), C] back into a channels- last image [N, output_size.., C]; overlapping windows add. The module form of ClikaRT::ops::fold, which documents the full contract (shapes, dtypes, errors); construct once, then call it like a function.
Member functions
Fold(FoldOptions)
explicit Fold(FoldOptions options)
Constructs the module from options.
Declared in ClikaRT/nn/generated/fold.h, line 115
Fold(vector<int64_t>, vector<int64_t>)
explicit Fold(std::vector<std::int64_t> output_size, std::vector<std::int64_t> kernel_size)
Fold(output_size, kernel_size): the positional form of FoldOptions(output_size, kernel_size).
Declared in ClikaRT/nn/generated/fold.h, line 118
forward()
forward_impl, unwrapped: raises ClikaRT::Error on failure.
Declared in ClikaRT/nn/generated/fold.h, line 133
operator()()
Same as forward.
Declared in ClikaRT/nn/generated/fold.h, line 137
options()
const FoldOptions& options() const
The settings this module was constructed with.
Declared in ClikaRT/nn/generated/fold.h, line 141