Skip to content
This repository was archived by the owner on Feb 3, 2025. It is now read-only.

Commit cfa6877

Browse files
author
DEKHTIARJonathan
committed
[Benchmarking-Py] Minor cleanups
1 parent 017aece commit cfa6877

File tree

1 file changed

+4
-2
lines changed
  • tftrt/benchmarking-python/tf_hub/albert

1 file changed

+4
-2
lines changed

tftrt/benchmarking-python/tf_hub/albert/infer.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@
1717

1818
import os
1919
import sys
20+
2021
import numpy as np
2122
import tensorflow as tf
23+
2224
# Allow import of top level python files
2325
import inspect
2426

25-
from dataloading import get_dataset_cola
26-
2727
currentdir = os.path.dirname(
2828
os.path.abspath(inspect.getfile(inspect.currentframe()))
2929
)
@@ -35,6 +35,8 @@
3535
from benchmark_args import BaseCommandLineAPI
3636
from benchmark_runner import BaseBenchmarkRunner
3737

38+
from dataloading import get_dataset_cola
39+
3840

3941
class CommandLineAPI(BaseCommandLineAPI):
4042

0 commit comments

Comments
 (0)