Skip to content

Make layer explaination #4

@Jayan-K-Duggal

Description

@Jayan-K-Duggal

I want to know how exactly in which order you are appending layers in make layer function, eaxctly how this loop is working.
strides = [stride] + [1] * (num_block - 1)
layers = []
for _stride in strides:
layers.append(BasicBlock(int(width_x * self.in_channels), int(width_x * out_channels), _stride))
self.in_channels = out_channels
return nn.Sequential(*layers)

Please comment for a input block[0], how it works and in what order it appends the layers?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions