Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

only one layer in each blocks #24

Open
Bigsealion opened this issue Oct 23, 2019 · 0 comments
Open

only one layer in each blocks #24

Bigsealion opened this issue Oct 23, 2019 · 0 comments

Comments

@Bigsealion
Copy link

Bigsealion commented Oct 23, 2019

def _add_block(self, inputs, growth_rate, layers_per_block):
    for layer in range(layers_per_block):
        with tf.variable_scope("layer_%d" % layer):
            return self._add_internal_layer(inputs, growth_rate)

This return in the loop might make only one layer in each block. you know, when the 'layer_0' was created, the 'return' will be used to stop this function.
I use tensorboard to demonstrate this guess
fb51ecf4c60560f97c6e65ea8e22860

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant