skip_connection: A 'torch::nn_module()' Representing a skip connection

View source: R/approach_vaeac_torch_modules.R

skip_connectionR Documentation

A torch::nn_module() Representing a skip connection

Description

Skip connection over the sequence of layers in the constructor. The module passes input data sequentially through these layers and then adds original data to the result.

Usage

skip_connection(...)

Arguments

...

network modules such as, e.g., torch::nn_linear(), torch::nn_relu(), and memory_layer() objects. See vaeac() for more information.

Author(s)

Lars Henry Berge Olsen


NorskRegnesentral/shapr documentation built on April 19, 2024, 1:19 p.m.