"# Required for total number of FLOPs computation\n",
"# plain = forward FLOPs without AE = 1/2 backward FLOPs with or without AE (number of backward FLOPs equal with and without AE as AE is skipped during BP)\n",
# plain = forward FLOPs without AE = 1/2 backward FLOPs with or without AE (number of backward FLOPs equal with and without AE as AE is skipped during BP)
# ae = forward FLOPs with AE
model_flops={
"resnet20":41498880,
"resnet20_ae":45758720,
"resnet110":258136320,
"resnet110_ae":262396160,
"tcn":27240000,
"simple_conv":16621560
"resnet20":{"plain":41498880,"ae":45758720},
"resnet110":{"plain":258136320,"ae":262396160},
"tcn":{"plain":27240000,"ae":27240000},# no AE implemented yet
"simple_conv":{"plain":16621560,"ae":16621560},# no AE implemented yet