1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
//!# bimm - Burn Image Models
//!
//! ## Notable Components
//!
//! * [`cache`] - weight loading cache.
//! * [`compat`] - compat code, ported or planned for an upcoming release of ``burn``.
//! * [`layers`] - reusable neural network modules.
//! * [`layers::blocks`] - miscellaneous blocks.
//! * [`layers::blocks::cna::CNA2d`] - ``Conv2d + Normalization + Activation`` block.
//! * [`layers::blocks::conv_norm::ConvNorm2d`] - ``Conv2d + BatchNorm2d`` block.
//! * [`layers::drop`] - dropout layers.
//! * [`layers::drop::drop_block`] - 2d drop block / spatial dropout.
//! * [`layers::drop::drop_path`] - drop path / stochastic depth.
//! * [`layers::patching`] - patching layers.
//! * [`layers::patching::patch_embed`] - 2d patch embedding layer.
//! * [`models`] - complete model families.
//! * [`models::resnet`] - `ResNet`
//! * [`models::swin`] - The SWIN Family.
//! * [`models::swin::v2`] - The SWIN-V2 Model.
extern crate alloc;
extern crate core;
/// Test-only macro import.
extern crate hamcrest;
pub