-
Notifications
You must be signed in to change notification settings - Fork 0
ResNet
Yi Zhu edited this page Jun 5, 2021
·
1 revision
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()
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
Star the repo if you like it! :-)