2
2
//!
3
3
//! These layers provide different type of operations to the data Blobs
4
4
//! that flow through them.
5
- //! The operations provided by the layers can be
6
- //! roughly grouped into four categories:
5
+ //! The operations provided by the layers are grouped into five categories:
7
6
//!
8
7
//! * [__Activation__][mod_activation]</br>
9
8
//! Activation Layers provide element-wise operations and produce one top Blob
31
30
//! Utility Layers follow the general behavior of a layer, like the other types
32
31
//! do.
33
32
//!
33
+ //! * [__Container__][mod_container]</br>
34
+ //! Container layers take `LayerConfig`s and connect them on initialization, which
35
+ //! creates a "network". But as container layers are layers one can stack multiple
36
+ //! container layers on top of another and compose even bigger container layers.
37
+ //! Container layers differ in how they connect the layers that it receives.
38
+ //!
34
39
//! For more information about how these layers work together, see the
35
40
//! documentation for the general [Layer module][3].
36
41
//!
41
46
//! [mod_common]: ./common/index.html
42
47
//! [mod_loss]: ./loss/index.html
43
48
//! [mod_utility]: ./utility/index.html
49
+ //! [mod_container]: ./container/index.html
44
50
45
51
/// Implement [ILayer][1] for [activation layers][2].
46
52
/// [1]: ./layer/trait.ILayer.html
@@ -60,7 +66,6 @@ pub use self::common::{
60
66
pub use self :: common:: {
61
67
Linear , LinearConfig ,
62
68
LogSoftmax ,
63
- Sequential , SequentialConfig ,
64
69
Softmax ,
65
70
} ;
66
71
@@ -73,7 +78,12 @@ pub use self::utility::{
73
78
Reshape , ReshapeConfig ,
74
79
} ;
75
80
81
+ pub use self :: container:: {
82
+ Sequential , SequentialConfig ,
83
+ } ;
84
+
76
85
pub mod activation;
77
86
pub mod common;
78
87
pub mod loss;
79
88
pub mod utility;
89
+ pub mod container;
0 commit comments