kse-01/tensorflow/third_party/tensorrt/build_defs.bzl.tpl

6 lines
174 B
Smarty
Raw Normal View History

2023-10-09 11:37:31 +00:00
# Build configurations for TensorRT.
def if_tensorrt(if_true, if_false=[]):
"""Tests whether TensorRT was enabled during the configure process."""
return %{if_tensorrt}