import tensorflow as tf

    Pooling 3D op
    '''
    if is_max_pool:
        x = tf.nn.max_pool3d(x, ksize=kernel_size, strides=strides, padding='VALID', name=layer_name)
    else:
        x = tf.nn.avg_pool3d(x, ksize=kernel_size, strides=strides, padding='VALID', name=layer_name)
    return x

def batch_norm(x):
    '''
