Fixed logic error in the check for including the MKL binary blob.

This commit is contained in:
ag.ramesh 2020-07-31 11:43:49 -07:00
parent 3965492046
commit 7d33a66af8

View File

@ -42,7 +42,8 @@ def if_mkl_ml(if_true, if_false = []):
"""
return select({
"@org_tensorflow//third_party/mkl_dnn:build_with_mkl_opensource": if_false,
"//conditions:default": if_true,
"@org_tensorflow//third_party/mkl:build_with_mkl": if_true,
"//conditions:default": if_false,
})
def if_mkl_lnx_x64(if_true, if_false = []):