-
Notifications
You must be signed in to change notification settings - Fork 270
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat/container: put sequential layer into container dir
BREAKING CHANGE: the Sequential and SequentialConfig struct is no longer available via leaf::layers::common::
- Loading branch information
MichaelHirn
committed
Mar 31, 2016
1 parent
f648454
commit bb23b76
Showing
4 changed files
with
28 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
//! Provides container layers. | ||
//! | ||
//! For now layers in container should be discribed as layers that are used | ||
//! to connect multiple layers together to create 'networks'. | ||
#[macro_export] | ||
macro_rules! impl_ilayer_common { | ||
() => ( | ||
fn exact_num_output_blobs(&self) -> Option<usize> { Some(1) } | ||
fn exact_num_input_blobs(&self) -> Option<usize> { Some(1) } | ||
) | ||
} | ||
|
||
pub use self::sequential::{Sequential, SequentialConfig}; | ||
|
||
pub mod sequential; |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters