The per-channel-BN MobileNetV2 stage vocabulary #
Per-channel-BN mirrors (bnPerChannelTensor3: reduce over spatial [2,3], γ/β : Vec c) of the
global-BN stage abbreviations ivExpand / … / ivProject: ivExpandPC / ivDepthwisePC /
ivDepthwiseStridedPC / ivProjectPC, and the two inverted-residual bodies composed from them
(invresBodyPC, invresBodyStridedPC). MobileNetV2StagesPCEval gives their frozen-statistics
twins.
Expand stage, per-channel BN: relu6 ∘ bnPC ∘ conv(1×1).
Equations
- Proofs.ivExpandPC We be εe γe βe = Proofs.relu6 (mid * h * w) ∘ Proofs.bnPerChannelTensor3 mid h w εe γe βe ∘ Proofs.flatConv We be
Instances For
Depthwise stage (stride-1), per-channel BN: relu6 ∘ bnPC ∘ depthwise.
Equations
- Proofs.ivDepthwisePC Wd bd εd γd βd = Proofs.relu6 (mid * h * w) ∘ Proofs.bnPerChannelTensor3 mid h w εd γd βd ∘ Proofs.depthwiseFlat Wd bd
Instances For
Depthwise stage (stride-2 downsample), per-channel BN: relu6 ∘ bnPC ∘ depthwiseStrided.
Equations
- Proofs.ivDepthwiseStridedPC Wd bd εd γd βd = Proofs.relu6 (mid * h * w) ∘ Proofs.bnPerChannelTensor3 mid h w εd γd βd ∘ Proofs.depthwiseStride2FlatXla Wd bd
Instances For
Project (linear bottleneck) stage, per-channel BN: bnPC ∘ conv(1×1) (no relu6).
Equations
- Proofs.ivProjectPC Wp bp εp γp βp = Proofs.bnPerChannelTensor3 oc h w εp γp βp ∘ Proofs.flatConv Wp bp
Instances For
Inverted-residual body (stride-1), per-channel BN: project ∘ depthwise ∘ expand.
Equations
- Proofs.invresBodyPC We be εe γe βe Wd bd εd γd βd Wp bp εp γp βp = Proofs.ivProjectPC Wp bp εp γp βp ∘ Proofs.ivDepthwisePC Wd bd εd γd βd ∘ Proofs.ivExpandPC We be εe γe βe
Instances For
Inverted-residual body (stride-2 downsample), per-channel BN: expand SAME (at 2h×2w) →
depthwise-strided → project.
Equations
- Proofs.invresBodyStridedPC We be εe γe βe Wd bd εd γd βd Wp bp εp γp βp = Proofs.ivProjectPC Wp bp εp γp βp ∘ Proofs.ivDepthwiseStridedPC Wd bd εd γd βd ∘ Proofs.ivExpandPC We be εe γe βe