(x, name, channel, nr_block, stride)
| 80 | return shortcut + stem |
| 81 | |
| 82 | def group(x, name, channel, nr_block, stride): |
| 83 | with tf.variable_scope(name + 'blk1'): |
| 84 | x = resblock(x, channel, stride) |
| 85 | for i in range(2, nr_block + 1): |
| 86 | with tf.variable_scope(name + 'blk{}'.format(i)): |
| 87 | x = resblock(x, channel, 1) |
| 88 | return x |
| 89 | |
| 90 | with remap_variables(new_get_variable), \ |
| 91 | argscope(BatchNorm, decay=0.9, epsilon=1e-4), \ |
no test coverage detected