ResNet - SkyWorld117/DianoiaML.jl Wiki

Original URL:


ResNet is Residual Network and it is very similar to the Sequential. It can be added with multiple layers and loaded to a Sequential network. Its variable type is a mutable constructor. However, it cannot be used alone. Its initialization, activation and update will be executed inside a Sequential network.


To create a new ResNet, a variable has to be initialized:


ResNet uses its property add_layer to add layer. It autofills the proper size of input data (input_shape) automatically. However, you can still override them just by giving in the key arguments.

(model::ResNet, layer::Any; args...)

model: self reference

layer: a type of layer

args: parameters of the layer for initialization