Network¶
-
class
yadll.network.
Network
(name=None, layers=None)[source]¶ The
Network
class is the container of all the layers of the network.Parameters: name : string
The name of the network
layers : list of :class: Layer, optional
create a network from another network.layers
Attributes
layers (list of :class: Layer) the list of layers in the network params (list of theano shared variables) the list of all the parameters of the network reguls (symbolic expression) regularization cost for the network has_unsupervised_layer (bool) True if one of the layer is a subclass of :class: UnsupervisedLayer -
get_layer
(layer_name)[source]¶ Get a layer of the network from its name
Parameters: layer_name : string
name of the layer requested
Returns: yaddl.layers object
a yadll layer object in the
-
get_output
(**kwargs)[source]¶ Returns the output of the network
Returns: symbolic expresssion
output of the network
-