<commit_before>import numpy as np
import tensorflow as tf
from ipdb import set_trace as debug


class SimpleNet(object):
    '''Simple multilayer perceptron.'''

    def __init__(self, x, layers_config):
        '''Create a multilayer perceptron.
        INPUTS
            layer_cfg - array-like
                An array containing a collection of tuples,
                    (n_in, n_out, _activation_fn)
                which specify layer dimensions and activation functions.
        '''

        # Initialize a tensorflow session.
        self.sess = tf.Session()

        # Initialize the weights and biases of the network.
        self.weights = {}
        self.biases = {}<commit_msg>Fixed comments to reflect updated API.<commit_after>import numpy as np
import tensorflow as tf
from ipdb import set_trace as debug


class SimpleNet(object):
    '''Simple multilayer perceptron.'''

    def __init__(self, x, layers_config):
        '''Create a multilayer perceptron.
        INPUTS
            layer_cfg - array-like
                An array containing a collection of tuples,
                    (n_out, _activation_fn)
                which specify layer output dimension and activation function.
        '''

        # Initialize a tensorflow session.
        self.sess = tf.Session()

        # Initialize the weights and biases of the network.
        self.weights = {}
        self.biases = {}
{'fraction_non_alphanumeric': 0.07102272727272728, 'fraction_numerical': 0.0, 'mean_word_length': 2.11037527593819, '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': '2297670', 'n_tokens_mistral': 375, 'n_tokens_neox': 346, 'n_words': 131}