import tensorflow as tf


def add_dense_transition_layer(layer, filter_dims, stride_dims=[1, 1], act_func=tf.nn.relu, scope='transition',
                               use_bn=True, bn_phaze=False, use_pool=True, use_bias=False, dilation=[1, 1, 1, 1]):
    with tf.variable_scope(scope):
        if use_bn:
            l = batch_norm_conv(layer, b_train=bn_phaze, scope='bn')
