Skip to content

Instantly share code, notes, and snippets.

@arunm8489
Created June 3, 2020 15:22
Show Gist options
  • Save arunm8489/27bbc18b1939937b266d0f9a659069bd to your computer and use it in GitHub Desktop.
Save arunm8489/27bbc18b1939937b266d0f9a659069bd to your computer and use it in GitHub Desktop.
def forward(self, x, CUDA=False):
modules = self.blocks[1:]
#We cache the outputs for the route layer
outputs = {}
write = 0
for i, module in enumerate(modules):
module_type = (module["type"])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment