diff options
Diffstat (limited to 'candle-transformers/src/models/resnet.rs')
-rw-r--r-- | candle-transformers/src/models/resnet.rs | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/candle-transformers/src/models/resnet.rs b/candle-transformers/src/models/resnet.rs index 30029a0b..31395c8f 100644 --- a/candle-transformers/src/models/resnet.rs +++ b/candle-transformers/src/models/resnet.rs @@ -1,7 +1,15 @@ -//! ResNet implementation. +//! # ResNet Implementation //! -//! See "Deep Residual Learning for Image Recognition" He et al. 2015 -//! <https://arxiv.org/abs/1512.03385> +//! Implementation of ResNet architectures as described in the paper: +//! +//! ## Reference +//! +//! [Deep Residual Learning for Image Recognition](https://arxiv.org/abs/1512.03385) +//! He et al. (2015) +//! +//! This paper introduced ResNet, a deep neural network architecture that utilizes +//! skip connections ("residual connections") to enable training of very deep networks. + use candle::{Result, D}; use candle_nn::{batch_norm, Conv2d, Func, VarBuilder}; |