def create_variable(name, shape):
 initializer = tf.contrib.layers.xavier_initializer_conv2d()
 variable = tf.Variable(initializer(shape=shape), name=name)
 return variable

def create_variable ( name , shape ) : initializer = tf . contrib . layers . xavier_initializer_conv2d ( ) variable = tf . Variable ( initializer ( shape = shape ) , name = name ) return variable
create a convolution filter variable with the specified name and shape .