(x)
| 69 | freeze (bool): whether to freeze all the variables under the scope |
| 70 | """ |
| 71 | def nonlin(x): |
| 72 | x = get_norm()(x) |
| 73 | return tf.nn.relu(x) |
| 74 | |
| 75 | with argscope([Conv2D, MaxPooling, BatchNorm], data_format='channels_first'), \ |
| 76 | argscope(Conv2D, use_bias=False, activation=nonlin, |