Created
February 18, 2020 09:53
-
-
Save THEFASHIONGEEK/2500b1d0dd976b9a49af7d0d077affea to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def final_block(pooling_branch_channels=32, pool_type="avg"): | |
network = [] | |
#Create subnetwork and add branches | |
subnetwork = [] | |
branch_1 = first_branch() | |
branch_2 = second_branch() | |
branch_3 = third_branch() | |
branch_4 = fourth_branch(pooling_branch_channels=pooling_branch_channels, | |
pool_type=pool_type) | |
subnetwork.append(branch_1) | |
subnetwork.append(branch_2) | |
subnetwork.append(branch_3) | |
subnetwork.append(branch_4) | |
# Add merging element | |
subnetwork.append(gtf.concatenate()) | |
# Add the subnetwork | |
network.append(subnetwork) | |
return network |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment