<commit_before>import tensorflow as tf



def variable(shape, name=None):
  return tf.get_variable(
      name,
      shape,
      initializer=(tf.contrib.layers.xavier_initializer()
                   if len(shape) == 2 else
                   tf.random_normal_initializer(stddev=0.1)))<commit_msg>Use Variable<commit_after>import tensorflow as tf



def variable(shape, name=None):
  return tf.Variable(
      (tf.contrib.layers.xavier_initializer()
       if len(shape) == 2 else
       tf.random_normal_initializer(stddev=0.1))(shape),
      name=name)
{'fraction_non_alphanumeric': 0.10971223021582734, 'fraction_numerical': 0.01079136690647482, 'mean_word_length': 3.0071942446043165, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2042939', 'n_tokens_mistral': 180, 'n_tokens_neox': 170, 'n_words': 33}