Commit 43f6cd77 authored by Davis King's avatar Davis King

Minor cleanup

parent 99ce564b
...@@ -1135,7 +1135,8 @@ namespace dlib ...@@ -1135,7 +1135,8 @@ namespace dlib
); );
/*! /*!
requires requires
- net_type is an object of type add_layer, add_loss_layer, add_skip_layer, or add_tag_layer. - net_type is an object of type add_layer, add_loss_layer, add_skip_layer, or
add_tag_layer.
ensures ensures
- This function chains together i calls to n.subnet() and returns the - This function chains together i calls to n.subnet() and returns the
result. So for example: result. So for example:
...@@ -1160,7 +1161,8 @@ namespace dlib ...@@ -1160,7 +1161,8 @@ namespace dlib
); );
/*! /*!
requires requires
- net_type is an object of type add_layer, add_loss_layer, add_skip_layer, or add_tag_layer. - net_type is an object of type add_layer, add_loss_layer, add_skip_layer, or
add_tag_layer.
ensures ensures
- returns the first layer in n that is of type Match. E.g. if net_type is - returns the first layer in n that is of type Match. E.g. if net_type is
fc<relu<fc<input<sample_type>>>> then calling layer<relu>(n) would return fc<relu<fc<input<sample_type>>>> then calling layer<relu>(n) would return
...@@ -1177,7 +1179,8 @@ namespace dlib ...@@ -1177,7 +1179,8 @@ namespace dlib
); );
/*! /*!
requires requires
- net_type is an object of type add_layer, add_loss_layer, add_skip_layer, or add_tag_layer. - net_type is an object of type add_layer, add_loss_layer, add_skip_layer, or
add_tag_layer.
ensures ensures
- returns layer<i>(layer<Match>(n)) - returns layer<i>(layer<Match>(n))
!*/ !*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment