Skip to content

Commit 8c0b9d5

Browse files
NihalHarishsophiayue1116
authored andcommitted
Cache TF Versions (awslabs#421)
1 parent 3a21f0c commit 8c0b9d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

smdebug/tensorflow/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ def is_tf_version_greater_than_2_4_x():
428428

429429

430430
def is_tf_version_greater_than_2_4_x():
431-
return version.parse("2.4.0") <= version.parse(tf.__version__)
431+
return version.parse("2.4.0") <= TF_VERSION
432432

433433

434434
def is_profiler_supported_for_tf_version():

0 commit comments

Comments
 (0)