Skip to contents

GoogLeNet/Inception parameter count, module by module (hmgoog)

Usage

morie_inception_module(in_ch, o1, r3, o3, r5, o5, pp)

Arguments

in_ch

Input channels.

o1, r3, o3, r5, o5, pp

Branch widths.

Value

List with branch_1x1, branch_3x3, branch_5x5, branch_pool, out_channels, params.

Examples

morie_inception_module(in_ch = 192, o1 = 64, r3 = 96, o3 = 128,
                       r5 = 16, o5 = 32, pp = 32)
#> $branch_1x1
#> [1] 12352
#> 
#> $branch_3x3
#> [1] 129248
#> 
#> $branch_5x5
#> [1] 15920
#> 
#> $branch_pool
#> [1] 6176
#> 
#> $out_channels
#> [1] 256
#> 
#> $params
#> [1] 163696
#> 
#> $naive_5x5_params
#> [1] 153632
#> 
#> $reduction_saving
#> [1] 137712
#>