'A plain ResNet without extra layers before or after the ResNet blocks.'

def _resnet_plain(self, inputs, blocks, output_stride=None, scope=None):

    with tf.variable_scope(scope, values=[inputs]):
        with slim.arg_scope([slim.conv2d], outputs_collections='end_points'):
            net = resnet_utils.stack_blocks_dense(inputs, blocks, output_stride)
            end_points = dict(tf.get_collection('end_points'))
            return (net, end_points)
