<commit_before>import logging
import os
import unittest

from benchmarker.benchmarker import run

logging.basicConfig(level=logging.DEBUG)
os.environ["TF_CPP_MIN_LOG_LEVEL"] = "3"


class TensorflowTests(unittest.TestCase):
    def setUp(self):
        self.name = "benchmarker"
        self.imgnet_args = [
            "--framework=tensorflow",
            "--problem_size=2",
            "--batch_size=2",
            "--nb_epoch=1",
        ]

    def test_vgg16(self):
        run(["--problem=vgg16", *self.imgnet_args])

    def test_vgg16_inference(self):
        run(["--problem=vgg16", "--mode=inference", *self.imgnet_args])<commit_msg>Remove unused member<commit_after>import logging
import os
import unittest

from benchmarker.benchmarker import run

logging.basicConfig(level=logging.DEBUG)
os.environ["TF_CPP_MIN_LOG_LEVEL"] = "3"


class TensorflowTests(unittest.TestCase):
    def setUp(self):
        self.imgnet_args = [
            "--framework=tensorflow",
            "--problem_size=2",
            "--batch_size=2",
            "--nb_epoch=1",
        ]

    def test_vgg16(self):
        run(["--problem=vgg16", *self.imgnet_args])

    def test_vgg16_inference(self):
        run(["--problem=vgg16", "--mode=inference", *self.imgnet_args])
{'fraction_non_alphanumeric': 0.14251781472684086, 'fraction_numerical': 0.019002375296912115, 'mean_word_length': 2.913312693498452, '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': '2464101', 'n_tokens_mistral': 429, 'n_tokens_neox': 408, 'n_words': 65}