run pylint and clang-format to fix formatting issues
This commit is contained in:
parent
8db2e909e5
commit
c2c551e681
4
third_party/tensorrt/tensorrt_configure.bzl
vendored
4
third_party/tensorrt/tensorrt_configure.bzl
vendored
@ -35,7 +35,9 @@ def _at_least_version(actual_version, required_version):
|
||||
def _update_tensorrt_headers(tensorrt_version):
|
||||
if not _at_least_version(tensorrt_version, "6"):
|
||||
return
|
||||
_TF_TENSORRT_HEADERS = ["NvInferVersion.h", "NvInfer.h", "NvUtils.h", "NvInferPlugin.h", "NvInferRTSafe.h", "NvInferRTExt.h", "NvInferPluginUtils.h"]
|
||||
_TF_TENSORRT_HEADERS = ["NvInferVersion.h", "NvInfer.h", "NvUtils.h",
|
||||
"NvInferPlugin.h", "NvInferRTSafe.h",
|
||||
"NvInferRTExt.h", "NvInferPluginUtils.h"]
|
||||
|
||||
def _tpl(repository_ctx, tpl, substitutions):
|
||||
repository_ctx.template(
|
||||
|
Loading…
Reference in New Issue
Block a user