original_docstring: Create a bias variable with appropriate initialization.
docstring: Create a bias variable with appropriate initialization.
docstring_tokens: Create a bias variable with appropriate initialization .
code: def bias_variable(shape, init_value=0.1, name='biases'):
    """Create a bias variable with appropriate initialization."""
    with tf.device('/cpu:0'):
      with tf.name_scope(name):
        biases = tf.get_variable(
            name,
            shape,
            initializer=tf.constant_initializer(init_value),
            dtype=tf.float32)
        variable_summaries(biases)
    return biases
code_tokens: def bias_variable ( shape , init_value = 0.1 , name = 'biases' ) : with tf . device ( '/cpu:0' ) : with tf . name_scope ( name ) : biases = tf . get_variable ( name , shape , initializer = tf . constant_initializer ( init_value ) , dtype = tf . float32 ) variable_summaries ( biases ) return biases
short_docstring: Create a bias variable with appropriate initialization.
short_docstring_tokens: Create a bias variable with appropriate initialization .
comment: """Create a bias variable with appropriate initialization."""