Skip to content

Commit e408416

Browse files
author
Haohuan Wang
committed
lazy import tensorflow
1 parent 307b0bc commit e408416

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clu/metric_writers/tf/summary_writer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@
2626
from clu.internal import utils
2727
from clu.metric_writers import interface
2828
from etils import epy
29-
import tensorflow as tf
3029

3130
with epy.lazy_imports():
3231
# pylint: disable=g-import-not-at-top
3332
from tensorboard.plugins.hparams import api as hparams_api
3433
from tensorboard.plugins.mesh import summary as mesh_summary # pylint: disable=line-too-long
34+
import tensorflow as tf
3535
# pylint: enable=g-import-not-at-top
3636

3737

0 commit comments

Comments
 (0)